com.atlassian.bamboo.v2.build.queue
Class BambooMessageConverter
java.lang.Object
com.atlassian.bamboo.v2.build.queue.BambooMessageConverter
- All Implemented Interfaces:
- org.springframework.jms.support.converter.MessageConverter
- Direct Known Subclasses:
- XStreamMessageConverter
public class BambooMessageConverter
- extends Object
- implements org.springframework.jms.support.converter.MessageConverter
A simple message converter that by default uses XStream to serialize/deserialize messages and allows use of custom converters.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BambooMessageConverter
public BambooMessageConverter()
BambooMessageConverter
public BambooMessageConverter(@NotNull
XStreamFactory xStreamFactory)
toMessage
public javax.jms.Message toMessage(@NotNull
Object object,
@NotNull
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 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 © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.