StompFrameHandler

Contract to handle a STOMP frame.

@author Rossen Stoyanchev @since 4.2

Members

Functions

getPayloadType
TypeInfo getPayloadType(StompHeaders headers)

Invoked before {@link #handleFrame(StompHeaders, Object)} to determine the type of Object the payload should be converted to. @param headers the headers of a message

handleFrame
void handleFrame(StompHeaders headers, Object payload)

Handle a STOMP frame with the payload converted to the target type returned from {@link #getPayloadType(StompHeaders)}. @param headers the headers of the frame @param payload the payload, or {@code null} if there was no payload

Meta