Example #1
0
 public CapEventSubscriber(
     ICustomerAppService customerSrv,
     ILogger <CapEventSubscriber> logger,
     MessageTrackerFactory trackerFactory)
 {
     _customerSrv = customerSrv;
     _logger      = logger;
     _tracker     = trackerFactory.Create();
 }
Example #2
0
 public CapEventSubscriber(
     IWarehouseAppService wareHouserSrv,
     ILogger <CapEventSubscriber> logger,
     MessageTrackerFactory trackerFactory)
 {
     _wareHouserSrv = wareHouserSrv;
     _logger        = logger;
     _tracker       = trackerFactory.Create();
 }
Example #3
0
 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);
        }
Example #5
0
 public DefaultMessageTrackerEndpointFactoryConfigurator(MessageTrackerFactory messageTrackerFactory)
 {
     _messageTrackerFactory = messageTrackerFactory;
 }
 public EndpointConfigurator SetInboundMessageTrackerFactory(MessageTrackerFactory messageTrackerFactory)
 {
     _settings.TrackerFactory = messageTrackerFactory;
     return this;
 }
Example #7
0
 public EndpointConfigurator SetInboundMessageTrackerFactory(MessageTrackerFactory messageTrackerFactory)
 {
     _settings.TrackerFactory = messageTrackerFactory;
     return(this);
 }
Example #8
0
 public void SetDefaultInboundMessageTrackerFactory(MessageTrackerFactory messageTrackerFactory)
 {
     _defaults.TrackerFactory = messageTrackerFactory;
 }
 public DefaultMessageTrackerEndpointFactoryConfigurator(MessageTrackerFactory messageTrackerFactory)
 {
     _messageTrackerFactory = messageTrackerFactory;
 }
	    public void SetDefaultInboundMessageTrackerFactory(MessageTrackerFactory messageTrackerFactory)
	    {
	        _defaults.TrackerFactory = messageTrackerFactory;
	    }