public CorrelatedMessageRouter()
 {
     _output = Atomic.Create(new Dictionary <TKey, CorrelatedMessageSinkRouter <T, TMessage, TKey> >());
 }
 public InboundMessagePipeline(IPipelineSink <IConsumeContext> output, IInboundPipelineConfigurator configurator)
 {
     _output       = Atomic.Create(output);
     _configurator = configurator;
 }
 public RequestMessageRouter(Func <T, string> keyAccessor)
 {
     _keyAccessor = keyAccessor;
     _output      = Atomic.Create(new Dictionary <string, MessageRouter <T> >());
     _empty       = Enumerable.Empty <Action <T> >();
 }
Exemple #4
0
 public MessageRouter(IEnumerable <IPipelineSink <T> > sinks)
 {
     _output = Atomic.Create(new List <IPipelineSink <T> >(sinks));
 }
Exemple #5
0
 public MessageRouter()
 {
     _output = Atomic.Create(new List <IPipelineSink <T> >());
 }
 public OutboundMessagePipeline(IPipelineSink <ISendContext> output)
 {
     _output = Atomic.Create(output);
 }
Exemple #7
0
 public OutboundMessagePipeline(IPipelineSink <ISendContext> output, IOutboundPipelineConfigurator configurator)
 {
     _output       = Atomic.Create(output);
     _configurator = configurator;
 }
Exemple #8
0
 public RequestMessageRouter(Func <T, string> keyAccessor)
 {
     _keyAccessor = keyAccessor;
     _output      = Atomic.Create(new Dictionary <string, MessageRouter <T> >());
 }