Class StompFrameHandlerV12
java.lang.Object
org.apache.activemq.artemis.core.protocol.stomp.VersionedStompFrameHandler
org.apache.activemq.artemis.core.protocol.stomp.v11.StompFrameHandlerV11
org.apache.activemq.artemis.core.protocol.stomp.v12.StompFrameHandlerV12
- All Implemented Interfaces:
FrameEventListener
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.apache.activemq.artemis.core.protocol.stomp.v11.StompFrameHandlerV11
StompFrameHandlerV11.StompDecoderV11 -
Field Summary
Fields inherited from class org.apache.activemq.artemis.core.protocol.stomp.v11.StompFrameHandlerV11
ESC_CHARFields inherited from class org.apache.activemq.artemis.core.protocol.stomp.VersionedStompFrameHandler
connection, decoder, EMPTY_BODY, executorFactory, scheduledExecutorService -
Constructor Summary
ConstructorsConstructorDescriptionStompFrameHandlerV12(StompConnection connection, ScheduledExecutorService scheduledExecutorService, ExecutorFactory factory) -
Method Summary
Modifier and TypeMethodDescriptioncreateMessageFrame(ICoreMessage serverMessage, StompSubscription subscription, org.apache.activemq.artemis.core.server.ServerConsumer consumer, int deliveryCount) createStompFrame(String command) onAck(StompFrame request) Version 1.2's ACK frame only requires 'id' header here we use id = messageIDMethods inherited from class org.apache.activemq.artemis.core.protocol.stomp.v11.StompFrameHandlerV11
createPingFrame, disconnect, getFailedAuthenticationResponse, getHeartBeater, initDecoder, onConnect, onDisconnect, onNack, onStomp, onUnsubscribe, replySent, requestAcceptedMethods inherited from class org.apache.activemq.artemis.core.protocol.stomp.VersionedStompFrameHandler
decode, getDecoder, getDestination, getDestination, getHandler, getPrefix, handleFrame, handleReceipt, hasBytes, onAbort, onBegin, onCommit, onError, onSend, onSubscribe, onUnknown, postprocess
-
Constructor Details
-
StompFrameHandlerV12
public StompFrameHandlerV12(StompConnection connection, ScheduledExecutorService scheduledExecutorService, ExecutorFactory factory)
-
-
Method Details
-
createStompFrame
- Overrides:
createStompFramein classStompFrameHandlerV11
-
createMessageFrame
public StompFrame createMessageFrame(ICoreMessage serverMessage, StompSubscription subscription, org.apache.activemq.artemis.core.server.ServerConsumer consumer, int deliveryCount) throws ActiveMQException - Overrides:
createMessageFramein classVersionedStompFrameHandler- Throws:
ActiveMQException
-
onAck
Version 1.2's ACK frame only requires 'id' header here we use id = messageID- Overrides:
onAckin classStompFrameHandlerV11
-