org.apache.cxf.transport.jms.util
Class JMSMessageConverter
java.lang.Object
org.apache.cxf.transport.jms.util.JMSMessageConverter
public class JMSMessageConverter
- extends Object
Converts jms messages to Objects and vice a versa.
String <=> TextMessage
byte[] <=> BytesMessage
Serializable object <=> ObjectMessage
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMSMessageConverter
public JMSMessageConverter()
toMessage
public javax.jms.Message toMessage(Object object,
javax.jms.Session session)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
fromMessage
public Object fromMessage(javax.jms.Message message)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
Apache CXF