org.springframework.data.jdbc.jms.support.converter.oracle
Class XmlMessageConverter
java.lang.Object
org.springframework.data.jdbc.jms.support.converter.oracle.XmlMessageConverter
- All Implemented Interfaces:
- MessageConverter
public class XmlMessageConverter
- extends Object
- implements MessageConverter
- Since:
- 1.0
|
Constructor Summary |
XmlMessageConverter(XmlTypeHandler handler)
Constructor used to construct the MessageConverter and configure it with
a XmlTypeHandler implementation to be used. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlMessageConverter
public XmlMessageConverter(XmlTypeHandler handler)
- Constructor used to construct the
MessageConverter and configure it with
a XmlTypeHandler implementation to be used.
- Parameters:
handler - XmlTypeHandler that will do the low level handling of the XMLType
getHandler
protected XmlTypeHandler getHandler()
toMessage
public javax.jms.Message toMessage(Object object,
javax.jms.Session session)
throws javax.jms.JMSException,
MessageConversionException
- Specified by:
toMessage in interface MessageConverter
- Throws:
javax.jms.JMSException
MessageConversionException
fromMessage
public Object fromMessage(javax.jms.Message message)
throws javax.jms.JMSException,
MessageConversionException
- Specified by:
fromMessage in interface MessageConverter
- Throws:
javax.jms.JMSException
MessageConversionException