Convert from a JMS Message to a Java object.
Parameters: message - the message to convert the converted Java object throws: javax.jms.JMSException - if thrown by JMS API methods throws: MessageConversionException - in case of conversion failure
Convert a Java object to a JMS Message using the supplied session
to create the message object.
Parameters: object - the object to convert Parameters: session - the Session to use for creating a JMS Message the JMS Message throws: javax.jms.JMSException - if thrown by JMS API methods throws: MessageConversionException - in case of conversion failure