[rabbitmq-discuss] BasicGet ignoring routing key . Exchange is Direct
michael.s.klishin at gmail.com
Fri Jan 3 13:14:44 GMT 2014
2014/1/3 Patrick Long <pat at munkiisoft.com>
> When I call channel.*BasicGet*(this.WorkQueueName, false) in a loop it
> dequeues messages ignoring the routingkey set on them.
> Any idea why it would be ignoring the RoutingKey?
Routing key is used to route messages to queues. They play no part in
consumption of messages.
To consume messages selectively you need to make sure they are routed to
different queues, then consume
from the right queue.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss