Class ZeroMqUtils

java.lang.Object
org.springframework.integration.zeromq.ZeroMqUtils

public final class ZeroMqUtils extends Object
Module that wraps common methods of ZeroMq integration classes
Since:
6.4
Author:
Alessio Matricardi
  • 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 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