[zeromq-dev] Multiple sender to Multiple receivers

Martin Sustrik sustrik at fastmq.com
Tue Jul 28 14:19:53 CEST 2009

Hi Robert,

>    I'm new to zmq and after working through the examples, I understand 
> single sender can send to multiple receiver applications by using global 
> exchange bound to multiple local queues. Also multiple senders can send 
> to single receiver by using local exchanges bound to a global queue.
>    How does one setup a multiple sender to multiple receiver scenario? 
> I'm looking for N senders sending messages, M receivers that need to get 
> all the published messages regardless of who the sender is. What would 
> be bind model look like to accomplish this?

Have a look at the chat tutorial. It does exactly what you are looking 
for. The point is to implement a simple application with a global queue 
to get messages from senders and a global exchange to send messages to 
receiver apps.


More information about the zeromq-dev mailing list