List of usage examples for javax.jms ObjectMessage interface-usage
From source file com.amazon.sqs.javamessaging.message.SQSObjectMessage.java
/**
* An ObjectMessage object is used to send a message that contains a Java
* serializable object.
* <P>
* It inherits from the Message interface and adds a body containing a single
* reference to an object. Only Serializable Java objects can be used.