[zeromq-dev] [ANN] JeroMQ 0.4.0 - A pure Java clone of libzmq

Trevor Bernard trevor.bernard at gmail.com
Wed Mar 22 19:36:47 CET 2017

I'd like to announce the immediate availability of
org.zeromq/jeromq-0.4.0 on Maven central. Special thanks to Dave
Yarwood for all his hard work which allowed this release to happen.

Try it via

Download: https://repo1.maven.org/maven2/org/zeromq/jeromq/0.4.0/

0.4.0 includes the following changes:


- #366: support for ZMQ_REQ_RELAXED and ZMQ_REQ_CORRELATE socket options

- #375: re-added ZMQ.Socket.disconnect, which had been removed in
0.3.6 because the contributor who originally added it did not agree to
the license change from LGPL to MPLv2


- #374:
    - fixed a NullPointerException and mangling of existing indexes in
    - fixed a Windows bug in Signaler
    - other small changes to keep JeroMQ in sync with jzmq

- #386: improved deallocation of polling Selector resources. When
creating a poller via ZMQ.Context.poller or ZContext.createPoller, the
context will manage the Selector resources and ensure that they are
deallocated when the context is terminated.

- #387: (BREAKING CHANGE) It is no longer possible to create a
ZMQ.Poller in any way except via a context. This is to ensure that all
Selector resources are deallocated when a context is terminated.

- #388 ZMQ.Socket.setLinger can now be called safely after a context
is terminated.

- #390: fixed a bug where terminating a context while polling would
sometimes cause a ClosedChannelException.

- #399: fixed a NullPointerException that would sometimes occur when
terminating a context


    - deprecated the setters setIoThreads, setMain and setContext in
ZContext. These parameters are set in the constructor and final.
Because it is no longer possible to set these values after
constructing a ZContext, the setters are now no-ops.

- #402: added constructors for ZPoller that take a ZContext argument,
thus making it possible to create a ZPoller whose Selector resources
are managed by the context.

Full changelog here: https://github.com/zeromq/jeromq/blob/v0.4.0/CHANGELOG.md

More information about the zeromq-dev mailing list