public ClusterEndpoint(QueueMode queueMode, DelayedDeliverySupport delayedDeliveryConfiguration) { var transportConfiguration = new ConfigureEndpointRabbitMQTransport(queueMode, delayedDeliveryConfiguration == DelayedDeliverySupport.UnsafeEnabled); TransportConfiguration = transportConfiguration; }
/// <summary> /// Creates new instance of the RabbitMQ transport to connect to a RabbitMQ cluster. /// </summary> /// <param name="topology">The custom topology to use.</param> /// <param name="connectionString">Connection string of the nodes.</param> /// <param name="queueMode">The queue mode for receiving queues.</param> /// <param name="delayedDeliverySupportConfiguration">The timeouts configuration.</param> public RabbitMQClusterTransport(Topology topology, string connectionString, QueueMode queueMode, DelayedDeliverySupport delayedDeliverySupportConfiguration) : base(GetBuiltInTopology(topology), connectionString, queueMode, delayedDeliverySupportConfiguration == DelayedDeliverySupport.UnsafeEnabled) { }