Class ReactorNettyTcpStompClient

java.lang.Object
org.springframework.messaging.simp.stomp.StompClientSupport
org.springframework.messaging.simp.stomp.ReactorNettyTcpStompClient

public class ReactorNettyTcpStompClient extends StompClientSupport
A STOMP over TCP client, configurable with either ReactorNettyTcpClient or ReactorNetty2TcpClient.
Since:
5.0
Author:
Rossen Stoyanchev
  • Constructor Details

    • ReactorNettyTcpStompClient

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

      public ReactorNettyTcpStompClient(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 Details