org.fusesource.stompjms.util
Class StompTranslator
java.lang.Object
org.fusesource.stompjms.util.StompTranslator
public class StompTranslator
- extends java.lang.Object
Frame translator implementation that uses XStream to convert messages to and
from XML and JSON
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StompTranslator
public StompTranslator()
readObjectFromBuffer
public static java.lang.Object readObjectFromBuffer(org.fusesource.hawtbuf.Buffer buffer)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
writeBufferFromObject
public static org.fusesource.hawtbuf.Buffer writeBufferFromObject(java.lang.Object object)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
convert
public static StompJmsMessage convert(StompFrame frame)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
toString
public static java.lang.String toString(org.fusesource.hawtbuf.AsciiBuffer buffer)
Copyright © 2010-2011 FuseSource, Corp.. All Rights Reserved.