com.atlassian.bamboo.v2.build.queue
Class XStreamMessageConverter

java.lang.Object
  extended by 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 a basic version of xStream to serialize & deserialize messages


Constructor Summary
XStreamMessageConverter()
           
 
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
 

Constructor Detail

XStreamMessageConverter

public XStreamMessageConverter()
Method Detail

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 © 2010 Atlassian. All Rights Reserved.