Beispiel #1
0
        private static Queue BindDurableQueue(IBroker broker, String queueName, Exchange exchange)
        {
            var queue = broker.DeclareDurableQueue(queueName);

            broker.DeclareExchangeBinding(exchange, queue, RoutingKey);
            return(queue);
        }
Beispiel #2
0
 private static Queue BindDurableQueue(IBroker broker, String queueName, Exchange exchange)
 {
     var queue = broker.DeclareDurableQueue(queueName);
     broker.DeclareExchangeBinding(exchange, queue, RoutingKey);
     return queue;
 }