public static TransportExtensions <RabbitMQTransport> UseTransport <T>(this EndpointConfiguration config) where T : RabbitMQTransport { var transport = new RabbitMQTransport(); var routing = config.UseTransport(transport); var settings = new TransportExtensions <RabbitMQTransport>(transport, routing); return(settings); }
public static RabbitMqTransportLegacySettings UseTransport <T>(this EndpointConfiguration config) where T : RabbitMQTransport { var transport = new RabbitMQTransport(); var routing = config.UseTransport(transport); var settings = new RabbitMqTransportLegacySettings(transport, routing); return(settings); }