Package | Description |
---|---|
org.springframework.messaging.simp.config |
Configuration support for WebSocket messaging using higher level messaging protocols.
|
Modifier and Type | Method and Description |
---|---|
StompBrokerRelayRegistration |
MessageBrokerRegistry.enableStompBrokerRelay(String... destinationPrefixes)
Enable a STOMP broker relay and configure the destination prefixes supported by the
message broker.
|
StompBrokerRelayRegistration |
StompBrokerRelayRegistration.setAutoStartup(boolean autoStartup)
Configure whether the
StompBrokerRelayMessageHandler should start
automatically when the Spring ApplicationContext is refreshed. |
StompBrokerRelayRegistration |
StompBrokerRelayRegistration.setClientLogin(String login)
Set the login to use when creating connections to the STOMP broker on
behalf of connected clients.
|
StompBrokerRelayRegistration |
StompBrokerRelayRegistration.setClientPasscode(String passcode)
Set the passcode to use when creating connections to the STOMP broker on
behalf of connected clients.
|
StompBrokerRelayRegistration |
StompBrokerRelayRegistration.setRelayHost(String relayHost)
Set the STOMP message broker host.
|
StompBrokerRelayRegistration |
StompBrokerRelayRegistration.setRelayPort(int relayPort)
Set the STOMP message broker port.
|
StompBrokerRelayRegistration |
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 |
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 |
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 |
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 |
StompBrokerRelayRegistration.setTaskScheduler(TaskScheduler taskScheduler)
Some STOMP clients (e.g.
|
StompBrokerRelayRegistration |
StompBrokerRelayRegistration.setTcpClient(TcpOperations<byte[]> tcpClient)
Configure a TCP client for managing TCP connections to the STOMP broker.
|
StompBrokerRelayRegistration |
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 |
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 |
StompBrokerRelayRegistration.setVirtualHost(String virtualHost)
Set the value of the "host" header to use in STOMP CONNECT frames.
|