org.apache.activemq.transport.stomp
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 |
static class |
FrameTranslator.Helper
Helper class which holds commonly needed functions used when implementing
FrameTranslators |
convertFrame
ActiveMQMessage convertFrame(ProtocolConverter converter,
StompFrame frame)
throws javax.jms.JMSException,
ProtocolException
- Throws:
javax.jms.JMSException
ProtocolException
convertMessage
StompFrame convertMessage(ProtocolConverter converter,
ActiveMQMessage message)
throws IOException,
javax.jms.JMSException
- Throws:
IOException
javax.jms.JMSException
convertDestination
String convertDestination(ProtocolConverter converter,
javax.jms.Destination d)
convertDestination
ActiveMQDestination convertDestination(ProtocolConverter converter,
String name,
boolean forceFallback)
throws ProtocolException
- Throws:
ProtocolException
Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.