Example usage for Java javax.jms Message fields, constructors, methods, implement or subclass
The text is from its open source code.
int | DEFAULT_DELIVERY_MODE The message producer's default delivery mode is PERSISTENT . |
int | DEFAULT_PRIORITY The message producer's default priority is 4. |
long | DEFAULT_TIME_TO_LIVE The message producer's default time to live is unlimited; the message never expires. |
void | acknowledge() Acknowledges all consumed messages of the session of this consumed message. |
void | clearProperties() Clears a message's properties. |
T | getBody(Class Returns the message body as an object of the specified type. |
boolean | getBooleanProperty(String name) Returns the value of the boolean property with the specified name. |
Class> | getClass() Returns the runtime class of this Object . |
double | getDoubleProperty(String name) Returns the value of the double property with the specified name. |
float | getFloatProperty(String name) Returns the value of the float 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. |
byte[] | getJMSCorrelationIDAsBytes() Gets the correlation ID as an array of bytes for the message. |
int | getJMSDeliveryMode() Gets the DeliveryMode value specified for this message. |
Destination | getJMSDestination() Gets the Destination object for this message. |
long | getJMSExpiration() Gets the message's expiration time. |
String | getJMSMessageID() Gets the message ID. |
int | getJMSPriority() Gets the message priority level. |
boolean | getJMSRedelivered() Gets an indication of whether this message is being redelivered. |
Destination | getJMSReplyTo() Gets the Destination object to which a reply to this message should be sent. |
long | getJMSTimestamp() Gets the message timestamp. |
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. |
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. |
short | getShortProperty(String name) Returns the value of the short property with the specified name. |
String | getStringProperty(String name) Returns the value of the String property with the specified name. |
int | hashCode() Returns a hash code value for the object. |
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 | setByteProperty(String name, byte value) Sets a byte property value with the specified name into the message. |
void | setDoubleProperty(String name, double value) Sets a double property value with the specified name into the message. |
void | setFloatProperty(String name, float value) Sets a float 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 | setJMSDestination(Destination destination) Sets the Destination object for this message. |
void | setJMSExpiration(long expiration) Sets the message's expiration value. |
void | setJMSMessageID(String id) Sets the message ID. |
void | setJMSPriority(int priority) Sets the priority level for this message. |
void | setJMSRedelivered(boolean redelivered) Specifies whether this message is being redelivered. |
void | setJMSReplyTo(Destination replyTo) Sets the Destination object to which a reply to this message should be sent. |
void | setJMSTimestamp(long timestamp) Sets the message timestamp. |
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 | setObjectProperty(String name, Object value) Sets a Java object property value with the specified name into the message. |
void | setShortProperty(String name, short value) Sets a short 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. |