Class ZeroMqUtils
java.lang.Object
org.springframework.integration.zeromq.ZeroMqUtils
Module that wraps common methods of ZeroMq integration classes
- Since:
 - 6.4
 - Author:
 - Alessio Matricardi
 
- 
Method Summary
Modifier and TypeMethodDescriptionstatic intbindSocket(org.zeromq.ZMQ.Socket socket, int port) Bind the ZeroMq socket to the given port over the TCP transport protocol. 
- 
Method Details
- 
bindSocket
public static int bindSocket(org.zeromq.ZMQ.Socket socket, int port) Bind the ZeroMq socket to the given port over the TCP transport protocol.- Parameters:
 socket- the ZeroMq socketport- the port to bind ZeroMq socket to over TCP. If equal to 0, the socket will bind to a random port.- Returns:
 - the effectively bound port
 
 
 -