public class ObjectMessage2ObjectConverter extends Object implements IMessageConverter
Constructor and Description |
---|
ObjectMessage2ObjectConverter() |
Modifier and Type | Method and Description |
---|---|
Object |
toObject(javax.jms.Message msg)
If msg is a JMS ObjectMessage, it returns the containing POJO.
|
public Object toObject(javax.jms.Message msg) throws javax.jms.JMSException
toObject
in interface IMessageConverter
msg
- the JMS message to convertjavax.jms.JMSException
- if there was a problem during the conversion.Copyright © GigaSpaces.