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