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