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 SummaryModifier 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- 
bindSocketpublic 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 socket
- port- 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
 
 
-