ISendTransportProvider CreateSendTransportProvider() { IPipe <ReceiveContext> pipe = Pipe.New <ReceiveContext>(x => { x.UseFilter(new DeserializeFilter(_configuration.Serialization.Deserializer, _consumePipe)); }); var receivePipe = new ReceivePipe(pipe, _consumePipe); return(new HttpSendTransportProvider(_configuration.BusConfiguration, receivePipe, new ReceiveObservable(), this)); }
ISendTransportProvider CreateSendTransportProvider() { var serializerBuilder = new SerializerBuilder(); IPipe <ReceiveContext> pipe = Pipe.New <ReceiveContext>(x => { x.UseFilter(new DeserializeFilter(serializerBuilder.Deserializer, _consumePipe)); }); var receivePipe = new ReceivePipe(pipe, _consumePipe); return(new HttpSendTransportProvider(_hosts, receivePipe, new ReceiveObservable(), this)); }