IPublishEndpointProvider CreatePublishEndpointProvider()
        {
            var sendEndpointProvider = new InMemorySendEndpointProvider(InputAddress, _sendTransportProvider, _serializer, SendPipe.Empty);

            var sendEndpointCache = new SendEndpointCache(sendEndpointProvider);

            return(new InMemoryPublishEndpointProvider(_sendTransportProvider, _publishPipe, _configuration.Topology.Publish, _serializer, InputAddress));
        }
        ISendEndpointProvider CreateSendEndpointProvider()
        {
            var provider = new InMemorySendEndpointProvider(InputAddress, _sendTransportProvider, _serializer, _sendPipe);

            return(new SendEndpointCache(provider));
        }