Пример #1
0
 public ConsumePipeSpecification()
 {
     _specifications = new List <IPipeSpecification <ConsumeContext> >();
     _consumeContextSpecifications = new List <IPipeSpecification <ConsumeContext> >();
     _messageSpecifications        = new ConcurrentDictionary <Type, IMessageConsumePipeSpecification>();
     _observers         = new ConsumePipeSpecificationObservable();
     _consumerObservers = new ConsumerConfigurationObservable();
     _sagaObservers     = new SagaConfigurationObservable();
 }
Пример #2
0
        public ConsumePipeSpecification()
        {
            _specifications          = new List <IPipeSpecification <ConsumeContext> >();
            _consumePipeConfigurator = new PipeConfigurator <ConsumeContext>();
            _messageSpecifications   = new ConcurrentDictionary <Type, IMessageConsumePipeSpecification>();
            _observers = new ConsumePipeSpecificationObservable();

            _consumerObservers = new ConsumerConfigurationObservable();
            _sagaObservers     = new SagaConfigurationObservable();
            _handlerObservers  = new HandlerConfigurationObservable();
            _activityObservers = new ActivityConfigurationObservable();

            AutoStart = true;
        }