Uses of Interface
org.springframework.messaging.simp.stomp.StompFrameHandler
Package
Description
Generic support for simple messaging protocols (like STOMP).
-
Uses of StompFrameHandler in org.springframework.messaging.simp.stomp
Modifier and TypeInterfaceDescriptioninterface
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 TypeClassDescriptionclass
Abstract adapter class forStompSessionHandler
with mostly empty implementation methods except forStompSessionHandlerAdapter.getPayloadType(org.springframework.messaging.simp.stomp.StompHeaders)
which returns String as the default Object type expected for STOMP ERROR frame payloads.Modifier and TypeMethodDescriptionDefaultStompSession.subscribe
(String destination, StompFrameHandler handler) DefaultStompSession.subscribe
(StompHeaders headers, StompFrameHandler handler) StompSession.subscribe
(String destination, StompFrameHandler handler) Subscribe to the given destination by sending a SUBSCRIBE frame and handle received messages with the specifiedStompFrameHandler
.StompSession.subscribe
(StompHeaders headers, StompFrameHandler handler) An overloaded version ofStompSession.subscribe(String, StompFrameHandler)
with fullStompHeaders
instead of just a destination.