public ConsumeEventCatalogBuilder(Routes routes, MessageContextFactory contextFactory, DepsCatalog deps) { _catalog = new Dictionary <string, ICallbackExecutor>(); _consumeRoutes = new ConsumeEventRoute(routes); _contextFactory = contextFactory; _deps = deps; }
public ConsumeCommandCatalogBuilder(Routes routes, MessageContextFactory contextFactory, DepsCatalog deps) { _catalog = new Dictionary <string, ICallbackExecutor>(); _routes = routes; _contextFactory = contextFactory; _deps = deps; }
public PublisherFactoryBuilder(Routes routes, DepsCatalog depsCatalog, string sourceService, string sourceHost) { _eventCatalog = new PublishEventCatalogBuilder(routes, depsCatalog); _commandCatalog = new PublishCommandCatalogBuilder(routes, depsCatalog); _deps = depsCatalog; _sourceService = sourceService; _sourceHost = sourceHost; }
public PublisherFactory(PublishCommandCatalog commandCatalog, PublishEventCatalog eventCatalog, DepsCatalog deps, string sourceService, string sourceHost) { _commandCatalog = commandCatalog; _eventCatalog = eventCatalog; _deps = deps; _sourceService = sourceService; _sourceHost = sourceHost; }
public ConsumeCatalogBuilder(Routes routes, MessageContextFactory contextFactory, IConsumerImplFactory consumerFactory, DepsCatalog deps) { _consumerFactory = consumerFactory; _contextFactory = contextFactory; _deps = deps; _commandCatalog = new ConsumeCommandCatalogBuilder(routes, contextFactory, _deps); _eventCatalog = new ConsumeEventCatalogBuilder(routes, contextFactory, _deps); }
internal Publisher(IExchangePublisher publisher, PublishCommandCatalog commandCatalog, PublishEventCatalog eventCatalog, DepsCatalog deps, string sourceService, string sourceHost) { _publisher = publisher; _eventCatalog = eventCatalog; _commandCatalog = commandCatalog; _deps = deps; _sourceHost = sourceHost; _sourceService = sourceService; }
public ConsumeExecutorCatalog(ImmutableDictionary <string, ICallbackExecutor> consumers, MessageContextFactory contextFactory, DepsCatalog depsCatalog) { _consumers = consumers; _contextFactory = contextFactory; _deps = depsCatalog; }
public PublishEventCatalogBuilder(Routes routes, DepsCatalog deps) { _routes = routes; _catalog = new Dictionary <Type, Func <object, string> >(); _deps = deps; }
public PublishCommandCatalogBuilder(Routes routes, DepsCatalog deps) { _catalog = new Dictionary <Type, Dictionary <Type, string> >(); _routes = routes; _deps = deps; }
internal CallbackExecutorCommand(CommandConsumerFactory <T> consumerFactory, MessageContextFactory contextFactory, DepsCatalog deps) { _consumerFactory = consumerFactory; _deps = deps; _contextFactory = contextFactory; }
internal CallbackExecutorEvent(EventConsumerFactory <TServiceDefinition, T> consumerFactory, MessageContextFactory contextFactory, DepsCatalog deps) { _consumerFactory = consumerFactory; _deps = deps; _contextFactory = contextFactory; }