QAMessage provides an interface to set message properties and header fields.
public interface QAMessage
All members of QAMessage interface, including all inherited members.
Name | Description |
---|---|
Clear all the properties of the message. | |
Returns the destination address for the QAMessage instance. | |
Gets a boolean message property. | |
Gets a signed byte message property. | |
Gets a double message property. | |
Returns the message's expiration value, or null if the message does not expire or has not yet been sent. | |
Gets a float message property. | |
Returns the message ID of the message to which this message is a reply. | |
Gets an int message property. | |
Gets a long message property. | |
Returns the globally unique message ID of the message. | |
Returns the priority of the message (ranging from 0 to 9). | |
Gets a message property. | |
Gets an enumerator over the property names of the message. | |
Returns the property type of the given property. | |
Indicates whether the message has been previously received but not acknowledged. | |
Returns the reply-to address of this message. | |
Gets a short message property. | |
Gets a String message property. | |
Returns the message timestamp, which is the time the message was created. | |
Indicates whether the given property has been set for this message. | |
Sets a boolean property. | |
Sets a signed byte property. | |
Sets a double property. | |
Sets a float property. | |
Sets the in reply to ID, which identifies the message this message is a reply to. | |
Sets an int property. | |
Sets a long property. | |
Sets the priority of the message (ranging from 0 to 9). | |
Sets a property. | |
Sets the reply-to address. | |
Sets a short property. | |
Sets a string property. | |
The default message priority. | |
The default time-to-live value. |
The derived classes QABinaryMessage and QATextMessage provide specialized functions to read and write to the message body. You can use QAMessage functions to set predefined or custom message properties.
For a list of predefined property names, see the MessageProperties.
clearProperties method
getAddress method
getBooleanProperty method
getByteProperty method
getDoubleProperty method
getExpiration method
getFloatProperty method
getInReplyToID method
getIntProperty method
getLongProperty method
getMessageID method
getPriority method
getProperty method
getPropertyNames method
getPropertyType method
getRedelivered method
getReplyToAddress method
getShortProperty method
getStringProperty method
getTimestamp method
propertyExists method
setBooleanProperty method
setByteProperty method
setDoubleProperty method
setFloatProperty method
setInReplyToID method
setIntProperty method
setLongProperty method
setPriority method
setProperty method
setReplyToAddress method
setShortProperty method
setStringProperty method
DEFAULT_PRIORITY variable
DEFAULT_TIME_TO_LIVE variable
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |