[zeromq-dev] receive from multiple queue

Martin Sustrik sustrik at fastmq.com
Thu Jan 22 10:41:04 CET 2009

Hi Bruno,

When you create a queue you get a queue ID.

Receive function returns a queue ID of the queue the message was 
received from. In case of non-blocking receive you get 0 in the case 
where there is no message available.

Hope that helps.

Bruno Coudoin wrote:
> I made a test with multiple receiving queues. On the queues side, I see
> data coming from the different queues (with the receive api) but see no
> way to differentiate them.
> Is this missing or there is a way to get the information?

More information about the zeromq-dev mailing list