protected IReceivePipe CreateReceivePipe() { // AddRescueFilter(builder); var endpointBuilder = new HttpReceiveEndpointBuilder(_hosts[0], ConsumePipe, this); IPipe <ReceiveContext> receivePipe = Pipe.New <ReceiveContext>(x => { x.UseFilter(new DeserializeFilter(endpointBuilder.MessageDeserializer, ConsumePipe)); }); return(new ReceivePipe(receivePipe, ConsumePipe)); }
protected IReceivePipe CreateReceivePipe() { // AddRescueFilter(builder); var endpointBuilder = new HttpReceiveEndpointBuilder(_hosts[0], ConsumePipe, this); IPipe<ReceiveContext> receivePipe = Pipe.New<ReceiveContext>(x => { x.UseFilter(new DeserializeFilter(endpointBuilder.MessageDeserializer, ConsumePipe)); }); return new ReceivePipe(receivePipe, ConsumePipe); }