Package | Description |
---|---|
org.springframework.messaging.simp.stomp |
Generic support for simple messaging protocols (like STOMP).
|
Modifier and Type | Method and Description |
---|---|
StompSession.Subscription |
DefaultStompSession.subscribe(StompHeaders headers,
StompFrameHandler handler) |
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(String destination,
StompFrameHandler handler) |
StompSession.Subscription |
StompSession.subscribe(String destination,
StompFrameHandler handler)
Subscribe to the given destination by sending a SUBSCRIBE frame and handle
received messages with the specified
StompFrameHandler . |