Registry / messaging / jeromq

jeromq

JSON →
library0.6.0javamavenunverified

Pure Java implementation of the ZeroMQ messaging library, providing socket-based messaging patterns.

<dependency> <groupId>org.zeromq</groupId> <artifactId>jeromq</artifactId> <version>0.6.0</version> </dependency>
INSTALL
IMPORT
SIG · JEROMQ
J
jeromq
messagingjavav0.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ZMQ
org.zeromq.ZMQ

Create a REQ socket and send a request to a REP socket.

import org.zeromq.ZMQ; ZMQ.Context context = ZMQ.context(1); ZMQ.Socket socket = context.socket(ZMQ.REQ); socket.connect("tcp://localhost:5555"); socket.send("Hello".getBytes(), 0); byte[] reply = socket.recv(0); System.out.println(new String(reply));
Debug
Known issues
gotchaJeroMQ is single-threaded by default; use multiple contexts for concurrency.
fix
Create separate ZMQ.Context instances for each thread or use inproc transport.
affects: all versions
Upgrade
Version history
0.6.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
OpenAI (training)
1
Resources
jeromq — mvn dependency:get jeromq · libregistry