예제 #1
0
        public override ISendEndpointProvider CreateSendEndpointProvider(Uri sourceAddress, params ISendPipeSpecification[] specifications)
        {
            var sendPipe = CreateSendPipe(specifications);

            var provider = new InMemorySendEndpointProvider(sourceAddress, SendTransportProvider, MessageSerializer, sendPipe);

            return(new SendEndpointCache(provider));
        }
        public override ISendEndpointProvider CreateSendEndpointProvider(params ISendPipeSpecification[] specifications)
        {
            var sendPipe = CreateSendPipe(specifications);

            var provider = new InMemorySendEndpointProvider(_inputAddress, _sendTransportProvider, MessageSerializer, sendPipe);

            return new SendEndpointCache(provider);
        }
예제 #3
0
        public override IPublishEndpointProvider CreatePublishEndpointProvider(Uri sourceAddress, params IPublishPipeSpecification[] specifications)
        {
            var sendEndpointProvider = new InMemorySendEndpointProvider(sourceAddress, SendTransportProvider, MessageSerializer, SendPipe.Empty);

            var sendEndpointCache = new SendEndpointCache(sendEndpointProvider);

            var publishPipe = CreatePublishPipe(specifications);

            return(new InMemoryPublishEndpointProvider(sendEndpointCache, SendTransportProvider, publishPipe));
        }
        public override IPublishEndpointProvider CreatePublishEndpointProvider(Uri sourceAddress, params IPublishPipeSpecification[] specifications)
        {
            var sendEndpointProvider = new InMemorySendEndpointProvider(sourceAddress, SendTransportProvider, MessageSerializer, SendPipe.Empty);

            var sendEndpointCache = new SendEndpointCache(sendEndpointProvider);

            var publishPipe = CreatePublishPipe(specifications);

            return new InMemoryPublishEndpointProvider(sendEndpointCache, SendTransportProvider, publishPipe);
        }
예제 #5
0
        protected override ISendEndpointProvider CreateSendEndpointProvider()
        {
            var provider = new InMemorySendEndpointProvider(_inputAddress, _sendTransportProvider, MessageSerializer);

            return(new SendEndpointCache(provider));
        }
예제 #6
0
        protected override ISendEndpointProvider CreateSendEndpointProvider()
        {
            var provider = new InMemorySendEndpointProvider(_inputAddress, _sendTransportProvider, MessageSerializer);

            return new SendEndpointCache(provider);
        }