Example usage for Java javax.jms ObjectMessage fields, constructors, methods, implement or subclass
The text is from its open source code.
void | acknowledge() Acknowledges all consumed messages of the session of this consumed message. |
void | clearProperties() Clears a message's properties. |
boolean | getBooleanProperty(String name) Returns the value of the boolean property with the specified name. |
int | getIntProperty(String name) Returns the value of the int property with the specified name. |
String | getJMSCorrelationID() Gets the correlation ID for the message. |
String | getJMSMessageID() Gets the message ID. |
int | getJMSPriority() Gets the message priority level. |
Destination | getJMSReplyTo() Gets the Destination object to which a reply to this message should be sent. |
String | getJMSType() Gets the message type identifier supplied by the client when the message was sent. |
long | getLongProperty(String name) Returns the value of the long property with the specified name. |
Serializable | getObject() Gets the serializable object containing this message's data. |
Object | getObjectProperty(String name) Returns the value of the Java object property with the specified name. |
Enumeration | getPropertyNames() Returns an Enumeration of all the property names. |
String | getStringProperty(String name) Returns the value of the String property with the specified name. |
boolean | propertyExists(String name) Indicates whether a property value exists. |
void | setBooleanProperty(String name, boolean value) Sets a boolean property value with the specified name into the message. |
void | setIntProperty(String name, int value) Sets an int property value with the specified name into the message. |
void | setJMSCorrelationID(String correlationID) Sets the correlation ID for the message. |
void | setJMSDeliveryMode(int deliveryMode) Sets the DeliveryMode value for this message. |
void | setJMSMessageID(String id) Sets the message ID. |
void | setJMSReplyTo(Destination replyTo) Sets the Destination object to which a reply to this message should be sent. |
void | setJMSType(String type) Sets the message type. |
void | setLongProperty(String name, long value) Sets a long property value with the specified name into the message. |
void | setObject(Serializable object) Sets the serializable object containing this message's data. |
void | setObjectProperty(String name, Object value) Sets a Java object property value with the specified name into the message. |
void | setStringProperty(String name, String value) Sets a String property value with the specified name into the message. |
String | toString() Returns a string representation of the object. |