Class LegacyFrameTranslator
- java.lang.Object
-
- org.apache.activemq.transport.stomp.LegacyFrameTranslator
-
- All Implemented Interfaces:
FrameTranslator
- Direct Known Subclasses:
JmsFrameTranslator
public class LegacyFrameTranslator extends Object implements FrameTranslator
Implements ActiveMQ 4.0 translations
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.activemq.transport.stomp.FrameTranslator
FrameTranslator.Helper
-
-
Constructor Summary
Constructors Constructor Description LegacyFrameTranslator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActiveMQDestination
convertDestination(ProtocolConverter converter, String name, boolean forceFallback)
String
convertDestination(ProtocolConverter converter, Destination d)
ActiveMQMessage
convertFrame(ProtocolConverter converter, StompFrame command)
StompFrame
convertMessage(ProtocolConverter converter, ActiveMQMessage message)
-
-
-
Method Detail
-
convertFrame
public ActiveMQMessage convertFrame(ProtocolConverter converter, StompFrame command) throws JMSException, ProtocolException
- Specified by:
convertFrame
in interfaceFrameTranslator
- Throws:
JMSException
ProtocolException
-
convertMessage
public StompFrame convertMessage(ProtocolConverter converter, ActiveMQMessage message) throws IOException, JMSException
- Specified by:
convertMessage
in interfaceFrameTranslator
- Throws:
IOException
JMSException
-
convertDestination
public String convertDestination(ProtocolConverter converter, Destination d)
- Specified by:
convertDestination
in interfaceFrameTranslator
-
convertDestination
public ActiveMQDestination convertDestination(ProtocolConverter converter, String name, boolean forceFallback) throws ProtocolException
- Specified by:
convertDestination
in interfaceFrameTranslator
- Throws:
ProtocolException
-
-