Java javax.jms TextMessage fields, constructors, methods, implement or subclass

Example usage for Java javax.jms TextMessage fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.jms TextMessage.

The text is from its open source code.

Method

voidacknowledge()
Acknowledges all consumed messages of the session of this consumed message.
voidclearBody()
Clears out the message body.
voidclearProperties()
Clears a message's properties.
booleangetBooleanProperty(String name)
Returns the value of the boolean property with the specified name.
intgetIntProperty(String name)
Returns the value of the int property with the specified name.
StringgetJMSCorrelationID()
Gets the correlation ID for the message.
intgetJMSDeliveryMode()
Gets the DeliveryMode value specified for this message.
DestinationgetJMSDestination()
Gets the Destination object for this message.
longgetJMSExpiration()
Gets the message's expiration time.
StringgetJMSMessageID()
Gets the message ID.
intgetJMSPriority()
Gets the message priority level.
booleangetJMSRedelivered()
Gets an indication of whether this message is being redelivered.
DestinationgetJMSReplyTo()
Gets the Destination object to which a reply to this message should be sent.
longgetJMSTimestamp()
Gets the message timestamp.
StringgetJMSType()
Gets the message type identifier supplied by the client when the message was sent.
longgetLongProperty(String name)
Returns the value of the long property with the specified name.
ObjectgetObjectProperty(String name)
Returns the value of the Java object property with the specified name.
EnumerationgetPropertyNames()
Returns an Enumeration of all the property names.
StringgetStringProperty(String name)
Returns the value of the String property with the specified name.
StringgetText()
Gets the string containing this message's data.
booleanpropertyExists(String name)
Indicates whether a property value exists.
voidsetBooleanProperty(String name, boolean value)
Sets a boolean property value with the specified name into the message.
voidsetByteProperty(String name, byte value)
Sets a byte property value with the specified name into the message.
voidsetDoubleProperty(String name, double value)
Sets a double property value with the specified name into the message.
voidsetFloatProperty(String name, float value)
Sets a float property value with the specified name into the message.
voidsetIntProperty(String name, int value)
Sets an int property value with the specified name into the message.
voidsetJMSCorrelationID(String correlationID)
Sets the correlation ID for the message.
voidsetJMSDeliveryMode(int deliveryMode)
Sets the DeliveryMode value for this message.
voidsetJMSDestination(Destination destination)
Sets the Destination object for this message.
voidsetJMSExpiration(long expiration)
Sets the message's expiration value.
voidsetJMSMessageID(String id)
Sets the message ID.
voidsetJMSPriority(int priority)
Sets the priority level for this message.
voidsetJMSReplyTo(Destination replyTo)
Sets the Destination object to which a reply to this message should be sent.
voidsetJMSTimestamp(long timestamp)
Sets the message timestamp.
voidsetJMSType(String type)
Sets the message type.
voidsetLongProperty(String name, long value)
Sets a long property value with the specified name into the message.
voidsetObjectProperty(String name, Object value)
Sets a Java object property value with the specified name into the message.
voidsetShortProperty(String name, short value)
Sets a short property value with the specified name into the message.
voidsetStringProperty(String name, String value)
Sets a String property value with the specified name into the message.
voidsetText(String string)
Sets the string containing this message's data.
StringtoString()
Returns a string representation of the object.