Example usage for Java javax.jms TextMessage 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 | clearBody() Clears out the message body. |
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. |
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. |
String | getStringProperty(String name) Returns the value of the String property with the specified name. |
String | getText() Gets the string containing this message's data. |
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 | 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. |
void | setText(String string) Sets the string containing this message's data. |
String | toString() Returns a string representation of the object. |