public Task StartAsync() { IOutgoingPipelineFactory outgoingFactory = this.CreateOutgoingPipelineFactory(); IIncomingPipelineFactory incomingFactory = this.CreateIncomingPipelineFactory(); this.unit = this.CreateBus(outgoingFactory, incomingFactory); return this.unit.StartAsync(); }
public IncomingBusDecorator(Bus bus, IncomingPipeline incomingPipeline, TransportMessage incoming) { this.incoming = incoming; this.incomingPipeline = incomingPipeline; this.bus = bus; }