Class BambooMessageConverter
- java.lang.Object
-
- com.atlassian.bamboo.v2.build.queue.BambooMessageConverter
-
- All Implemented Interfaces:
org.springframework.jms.support.converter.MessageConverter
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.
-
-
Constructor Summary
Constructors Constructor Description BambooMessageConverter()
Deprecated.since 5.10 use the other constructor or inject the beanBambooMessageConverter(@NotNull XStreamFactory xStreamFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
fromMessage(javax.jms.Message message)
javax.jms.Message
toMessage(@NotNull Object object, @NotNull javax.jms.Session session)
-
-
-
Constructor Detail
-
BambooMessageConverter
@Deprecated public BambooMessageConverter()
Deprecated.since 5.10 use the other constructor or inject the bean
-
BambooMessageConverter
public BambooMessageConverter(@NotNull @NotNull XStreamFactory xStreamFactory)
-
-
Method Detail
-
toMessage
public javax.jms.Message toMessage(@NotNull @NotNull Object object, @NotNull @NotNull javax.jms.Session session) throws javax.jms.JMSException, org.springframework.jms.support.converter.MessageConversionException
- Specified by:
toMessage
in interfaceorg.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 interfaceorg.springframework.jms.support.converter.MessageConverter
- Throws:
javax.jms.JMSException
org.springframework.jms.support.converter.MessageConversionException
-
-