[rabbitmq-discuss] BasicGet ignoring routing key . Exchange is Direct

Patrick Long pat at munkiisoft.com
Fri Jan 3 12:07:44 GMT 2014


We are using the C# .NET client library.

I create a channel like so

channel.ExchangeDeclare(workExchangeName, *ExchangeType.Direct*);

Then bind a queue like

channel.QueueBind(this.WorkQueueName, workExchangeName,
*BuildRoutingKey(buildNumber)*);

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?

Thanks

-- 
Patrick Long - Munkiisoft Ltd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140103/6bd2c32a/attachment.html>


More information about the rabbitmq-discuss mailing list