public class LegacyFrameTranslator extends Object implements FrameTranslator
FrameTranslator.Helper
Constructor and Description |
---|
LegacyFrameTranslator() |
Modifier and Type | Method and Description |
---|---|
String |
convertDestination(ProtocolConverter converter,
javax.jms.Destination d) |
ActiveMQDestination |
convertDestination(ProtocolConverter converter,
String name,
boolean forceFallback) |
ActiveMQMessage |
convertFrame(ProtocolConverter converter,
StompFrame command) |
StompFrame |
convertMessage(ProtocolConverter converter,
ActiveMQMessage message) |
protected String |
marshallAdvisory(DataStructure ds)
Return an Advisory message as a JSON formatted string
|
public ActiveMQMessage convertFrame(ProtocolConverter converter, StompFrame command) throws javax.jms.JMSException, ProtocolException
convertFrame
in interface FrameTranslator
javax.jms.JMSException
ProtocolException
public StompFrame convertMessage(ProtocolConverter converter, ActiveMQMessage message) throws IOException, javax.jms.JMSException
convertMessage
in interface FrameTranslator
IOException
javax.jms.JMSException
public String convertDestination(ProtocolConverter converter, javax.jms.Destination d)
convertDestination
in interface FrameTranslator
public ActiveMQDestination convertDestination(ProtocolConverter converter, String name, boolean forceFallback) throws ProtocolException
convertDestination
in interface FrameTranslator
ProtocolException
protected String marshallAdvisory(DataStructure ds)
ds
- Copyright © 2005–2017 The Apache Software Foundation. All rights reserved.