[rabbitmq-discuss] rabbitmq-c how many channels I need?
Michael Klishin
michael.s.klishin at gmail.com
Tue Jun 18 12:58:07 BST 2013
2013/6/18 3k4b251 <314992959 at qq.com>
> I know the channel of sender,but how can I know
> which queue this message from
>
Every delivery has a consumer tag (identifier). The same tag will be
availalbe on the basic.consume-ok method
returned by basic.consume (sorry, I'm not sure what function/struct exactly
that translates in the C client).
If you keep a mapping of consumers to queues, you will be able to look up
queues by consumer tag.
--
MK
http://github.com/michaelklishin
http://twitter.com/michaelklishin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130618/95db6c4b/attachment.htm>
More information about the rabbitmq-discuss
mailing list