Inheritance: ReceiveEndpointBuilder, IHttpReceiveEndpointBuilder
Exemplo n.º 1
0
        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));
        }
Exemplo n.º 2
0
        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);
        }