Interface FrameTranslator
- All Known Implementing Classes:
JmsFrameTranslator,LegacyFrameTranslator
public interface FrameTranslator
Implementations of this interface are used to map back and forth from STOMP
to ActiveMQ. There are several standard mappings which are semantically the
same, the inner class, Helper, provides functions to copy those properties
from one to the other
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classHelper class which holds commonly needed functions used when implementing FrameTranslators -
Method Summary
Modifier and TypeMethodDescriptionconvertDestination(ProtocolConverter converter, jakarta.jms.Destination d) org.apache.activemq.command.ActiveMQDestinationconvertDestination(ProtocolConverter converter, String name, boolean forceFallback) org.apache.activemq.command.ActiveMQMessageconvertFrame(ProtocolConverter converter, StompFrame frame) convertMessage(ProtocolConverter converter, org.apache.activemq.command.ActiveMQMessage message)
-
Method Details
-
convertFrame
org.apache.activemq.command.ActiveMQMessage convertFrame(ProtocolConverter converter, StompFrame frame) throws jakarta.jms.JMSException, ProtocolException - Throws:
jakarta.jms.JMSExceptionProtocolException
-
convertMessage
StompFrame convertMessage(ProtocolConverter converter, org.apache.activemq.command.ActiveMQMessage message) throws IOException, jakarta.jms.JMSException - Throws:
IOExceptionjakarta.jms.JMSException
-
convertDestination
-
convertDestination
org.apache.activemq.command.ActiveMQDestination convertDestination(ProtocolConverter converter, String name, boolean forceFallback) throws ProtocolException - Throws:
ProtocolException
-