Example usage for javax.jms ObjectMessage interface-usage

List of usage examples for javax.jms ObjectMessage interface-usage

Introduction

In this page you can find the example usage for javax.jms ObjectMessage interface-usage.

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.