final String addr = receiverUrl.toString().replaceFirst("zmq:/?/?", "");
final Socket socket = ZMQ.getSocket(org.zeromq.ZMQ.PUSH);
try {
socket.connect(addr);
socket.send(zmqType, org.zeromq.ZMQ.SNDMORE);
socket.send(senderUrl.toString(), org.zeromq.ZMQ.SNDMORE);
socket.send(token, org.zeromq.ZMQ.SNDMORE);
socket.send(message);
} catch (final Exception e) {
LOG.log(Level.WARNING, "Failed to send JSON through ZMQ", e);