Package com.atlassian.bamboo.remoting
Class SpringRemotingMessageConverter
- java.lang.Object
-
- com.atlassian.bamboo.remoting.SpringRemotingMessageConverter
-
- All Implemented Interfaces:
org.springframework.jms.support.converter.MessageConverter
public class SpringRemotingMessageConverter extends Object implements org.springframework.jms.support.converter.MessageConverter
-
-
Constructor Summary
Constructors Constructor Description SpringRemotingMessageConverter(@NotNull XStreamFactory marshallingXStreamFactory, @NotNull XStreamFactory unmarshallingXStreamFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
fromMessage(javax.jms.Message message)
javax.jms.Message
toMessage(Object object, javax.jms.Session session)
-
-
-
Constructor Detail
-
SpringRemotingMessageConverter
public SpringRemotingMessageConverter(@NotNull @NotNull XStreamFactory marshallingXStreamFactory, @NotNull @NotNull XStreamFactory unmarshallingXStreamFactory)
-
-
Method Detail
-
toMessage
public javax.jms.Message toMessage(Object object, 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
-
-