Uses of Class
org.springframework.messaging.simp.config.StompBrokerRelayRegistration
Package
Description
Configuration support for WebSocket messaging using higher level messaging protocols.
-
Uses of StompBrokerRelayRegistration in org.springframework.messaging.simp.config
Modifier and TypeMethodDescriptionMessageBrokerRegistry.enableStompBrokerRelay
(String... destinationPrefixes) Enable a STOMP broker relay and configure the destination prefixes supported by the message broker.StompBrokerRelayRegistration.setAutoStartup
(boolean autoStartup) Configure whether theStompBrokerRelayMessageHandler
should start automatically when the Spring ApplicationContext is refreshed.StompBrokerRelayRegistration.setClientLogin
(String login) Set the login to use when creating connections to the STOMP broker on behalf of connected clients.StompBrokerRelayRegistration.setClientPasscode
(String passcode) Set the passcode to use when creating connections to the STOMP broker on behalf of connected clients.StompBrokerRelayRegistration.setRelayHost
(String relayHost) Set the STOMP message broker host.StompBrokerRelayRegistration.setRelayPort
(int relayPort) Set the STOMP message broker port.StompBrokerRelayRegistration.setSystemHeartbeatReceiveInterval
(long heartbeatReceiveInterval) Set the maximum interval, in milliseconds, at which the "system" relay session expects, in the absence of any other data, to receive a heartbeat from the STOMP broker.StompBrokerRelayRegistration.setSystemHeartbeatSendInterval
(long systemHeartbeatSendInterval) Set the interval, in milliseconds, at which the "system" relay session will, in the absence of any other data being sent, send a heartbeat to the STOMP broker.StompBrokerRelayRegistration.setSystemLogin
(String login) Set the login for the shared "system" connection used to send messages to the STOMP broker from within the application, i.e.StompBrokerRelayRegistration.setSystemPasscode
(String passcode) Set the passcode for the shared "system" connection used to send messages to the STOMP broker from within the application, i.e.StompBrokerRelayRegistration.setTaskScheduler
(TaskScheduler taskScheduler) Some STOMP clients (for example, stomp-js) always send heartbeats at a fixed rate but others (Spring STOMP client) do so only when no other messages are sent.StompBrokerRelayRegistration.setTcpClient
(TcpOperations<byte[]> tcpClient) Configure a TCP client for managing TCP connections to the STOMP broker.StompBrokerRelayRegistration.setUserDestinationBroadcast
(String destination) Set a destination to broadcast messages to user destinations that remain unresolved because the user appears not to be connected.StompBrokerRelayRegistration.setUserRegistryBroadcast
(String destination) Set a destination to broadcast the content of the local user registry to and to listen for such broadcasts from other servers.StompBrokerRelayRegistration.setVirtualHost
(String virtualHost) Set the value of the "host" header to use in STOMP CONNECT frames.