[zeromq-dev] freelance(ish) pattern, java and threading

Ian Barber ian.barber at gmail.com
Wed Nov 28 00:01:33 CET 2012

On Tue, Nov 27, 2012 at 7:36 PM, Peter Friend <pfriend at gehrytech.com> wrote:

>  It almost sounds like I need another ROUTER socket bound to inproc which
> the threads can connect to, then the main polling loop can pass from inproc
> to the clients.

That's the way! Your main thread in this case is acting as the proxy - you
take requests from the "service exposing" router, and pass them through to
the "worker dispatch" dealer, and sending responses back the other way.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20121127/9c0dbfe9/attachment.htm>

More information about the zeromq-dev mailing list