org.springframework.messaging.simp.stomp

Class ReactorNettyTcpStompClient

    • Constructor Detail

      • ReactorNettyTcpStompClient

        public ReactorNettyTcpStompClient()
        Create an instance with host "127.0.0.1" and port 61613.
      • ReactorNettyTcpStompClient

        public ReactorNettyTcpStompClient(java.lang.String host,
                                          int port)
        Create an instance with the given host and port.
        Parameters:
        host - the host
        port - the port
      • ReactorNettyTcpStompClient

        public ReactorNettyTcpStompClient(TcpOperations<byte[]> tcpClient)
        Create an instance with a pre-configured TCP client.
        Parameters:
        tcpClient - the client to use
    • Method Detail

      • shutdown

        public void shutdown()
        Shut down the client and release resources.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object