Package | Description |
---|---|
org.springframework.messaging.simp.stomp |
Generic support for simple messaging protocols (like STOMP).
|
Modifier and Type | Interface and Description |
---|---|
interface |
StompSessionHandler
A contract for client STOMP session lifecycle events including a callback
when the session is established and notifications of transport or message
handling failures.
|
Modifier and Type | Class and Description |
---|---|
class |
StompSessionHandlerAdapter
Abstract adapter class for
StompSessionHandler with mostly empty
implementation methods except for StompSessionHandlerAdapter.getPayloadType(org.springframework.messaging.simp.stomp.StompHeaders) which returns String
as the default Object type expected for STOMP ERROR frame payloads. |
Modifier and Type | Method and Description |
---|---|
StompSession.Subscription |
StompSession.subscribe(StompHeaders headers,
StompFrameHandler handler)
An overloaded version of
StompSession.subscribe(String, StompFrameHandler)
with full StompHeaders instead of just a destination. |
StompSession.Subscription |
DefaultStompSession.subscribe(StompHeaders headers,
StompFrameHandler handler) |
StompSession.Subscription |
StompSession.subscribe(java.lang.String destination,
StompFrameHandler handler)
Subscribe to the given destination by sending a SUBSCRIBE frame and handle
received messages with the specified
StompFrameHandler . |
StompSession.Subscription |
DefaultStompSession.subscribe(java.lang.String destination,
StompFrameHandler handler) |