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
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
Contract to handle a STOMP frame.
@author Rossen Stoyanchev @since 4.2