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
ConstructorDescriptionDeprecated.since 5.10 use the other constructor or inject the beanBambooMessageConverter
(@NotNull XStreamFactory xStreamFactory) -
Method Summary
-
Constructor Details
-
BambooMessageConverter
Deprecated.since 5.10 use the other constructor or inject the bean -
BambooMessageConverter
-
-
Method Details
-
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
-