public CapEventSubscriber( ICustomerAppService customerSrv, ILogger <CapEventSubscriber> logger, MessageTrackerFactory trackerFactory) { _customerSrv = customerSrv; _logger = logger; _tracker = trackerFactory.Create(); }
public CapEventSubscriber( IWarehouseAppService wareHouserSrv, ILogger <CapEventSubscriber> logger, MessageTrackerFactory trackerFactory) { _wareHouserSrv = wareHouserSrv; _logger = logger; _tracker = trackerFactory.Create(); }
public CapEventSubscriber( IOrderAppService orderSrv, ILogger <CapEventSubscriber> logger, MessageTrackerFactory trackerFactory) { _orderSrv = orderSrv; _logger = logger; _tracker = trackerFactory.Create(); }
public static T SetDefaultInboundMessageTrackerFactory <T>(this T configurator, MessageTrackerFactory messageTrackerFactory) where T : EndpointFactoryConfigurator { var serializerConfigurator = new DefaultMessageTrackerEndpointFactoryConfigurator(messageTrackerFactory); configurator.AddEndpointFactoryConfigurator(serializerConfigurator); return(configurator); }
public DefaultMessageTrackerEndpointFactoryConfigurator(MessageTrackerFactory messageTrackerFactory) { _messageTrackerFactory = messageTrackerFactory; }
public EndpointConfigurator SetInboundMessageTrackerFactory(MessageTrackerFactory messageTrackerFactory) { _settings.TrackerFactory = messageTrackerFactory; return this; }
public EndpointConfigurator SetInboundMessageTrackerFactory(MessageTrackerFactory messageTrackerFactory) { _settings.TrackerFactory = messageTrackerFactory; return(this); }
public void SetDefaultInboundMessageTrackerFactory(MessageTrackerFactory messageTrackerFactory) { _defaults.TrackerFactory = messageTrackerFactory; }