[zeromq-dev] Question for java users

Ivan Pechorin ivan.pechorin at gmail.com
Thu Feb 7 18:24:14 CET 2013


Hi John,

2013/2/7 John Watson <jkwatson at gmail.com>:
> Quick question for those of you out there who use 0mq from java.
>
> Do you use the jzmq ZLoop, and if so, what is an example use case?

I use JeroMQ ZLoop for polling 0mq sockets (PollItems with
IZLoopHandlers) and for timers.
Single thread.

> (This is specific to the java users, because I'm trying to figure out when
> one might use ZLoop, rather than any of the built-in java.util.concurrent
> facilities, such as a fork-join pool and simple Executors).

How are they useful for polling 0mq sockets?
And as for the timers, it was very handy for me that ZLoop supports them too.

Regards,
Ivan



More information about the zeromq-dev mailing list