com.atlassian.bamboo.v2.build.queue
Class XStreamMessageConverter
java.lang.Object
com.atlassian.bamboo.v2.build.queue.XStreamMessageConverter
- All Implemented Interfaces:
- org.springframework.jms.support.converter.MessageConverter
public class XStreamMessageConverter
- extends java.lang.Object
- implements org.springframework.jms.support.converter.MessageConverter
A simple message converter that uses XStream to serialize/deserialize messages.
Method Summary |
java.lang.Object |
fromMessage(javax.jms.Message message)
|
javax.jms.Message |
toMessage(java.lang.Object object,
javax.jms.Session session)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XStreamMessageConverter
public XStreamMessageConverter()
XStreamMessageConverter
public XStreamMessageConverter(@NotNull
XStreamFactory xStreamFactory)
toMessage
public javax.jms.Message toMessage(java.lang.Object object,
javax.jms.Session session)
throws javax.jms.JMSException,
org.springframework.jms.support.converter.MessageConversionException
- Specified by:
toMessage
in interface org.springframework.jms.support.converter.MessageConverter
- Throws:
javax.jms.JMSException
org.springframework.jms.support.converter.MessageConversionException
fromMessage
public java.lang.Object fromMessage(javax.jms.Message message)
throws javax.jms.JMSException,
org.springframework.jms.support.converter.MessageConversionException
- Specified by:
fromMessage
in interface org.springframework.jms.support.converter.MessageConverter
- Throws:
javax.jms.JMSException
org.springframework.jms.support.converter.MessageConversionException
Copyright © 2012 Atlassian. All Rights Reserved.