/// <summary> /// Selectes topic-based routing /// </summary> public static TopicBasedRouterConfigurationBuilder TopicBased(this StandardConfigurer<IRouter> configurer) { var router = new TopicBasedRouter(); var builder = new TopicBasedRouterConfigurationBuilder(router); configurer.Register(c => router); return builder; }
/// <summary> /// Selectes topic-based routing /// </summary> public static TopicBasedRouterConfigurationBuilder TopicBased(this StandardConfigurer <IRouter> configurer) { var router = new TopicBasedRouter(); var builder = new TopicBasedRouterConfigurationBuilder(router); configurer.Register(c => router); return(builder); }
/// <summary> /// Constructs the builder /// </summary> public TopicBasedRouterConfigurationBuilder(TopicBasedRouter router) { _router = router; }