Interface FrameTranslator
-
- All Known Implementing Classes:
JmsFrameTranslator,LegacyFrameTranslator
public interface FrameTranslatorImplementations 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 Classes Modifier and Type Interface Description static classFrameTranslator.HelperHelper class which holds commonly needed functions used when implementing FrameTranslators
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActiveMQDestinationconvertDestination(ProtocolConverter converter, String name, boolean forceFallback)StringconvertDestination(ProtocolConverter converter, Destination d)ActiveMQMessageconvertFrame(ProtocolConverter converter, StompFrame frame)StompFrameconvertMessage(ProtocolConverter converter, ActiveMQMessage message)
-
-
-
Method Detail
-
convertFrame
ActiveMQMessage convertFrame(ProtocolConverter converter, StompFrame frame) throws JMSException, ProtocolException
- Throws:
JMSExceptionProtocolException
-
convertMessage
StompFrame convertMessage(ProtocolConverter converter, ActiveMQMessage message) throws IOException, JMSException
- Throws:
IOExceptionJMSException
-
convertDestination
String convertDestination(ProtocolConverter converter, Destination d)
-
convertDestination
ActiveMQDestination convertDestination(ProtocolConverter converter, String name, boolean forceFallback) throws ProtocolException
- Throws:
ProtocolException
-
-