Provides an interface to set message properties and header fields.
Public Interface QAMessage
public interface QAMessage
All members of QAMessage interface, including all inherited members.
Name | Description |
---|---|
Clears the body of the message. | |
Clears all the properties of the message. | |
Gets a boolean message property. | |
Gets a byte message property. | |
Gets a double message property. | |
Gets a float message property. | |
Gets an int message property. | |
Gets a long message property. | |
Gets a message property. | |
Gets an enumerator over the property names of the message. | |
Returns the property type of the given property. | |
Gets a signed byte message property. | |
Gets a short message property. | |
Gets a string message property. | |
Indicates whether the given property has been set for this message. | |
Sets a boolean property. | |
Sets a byte property. | |
Sets a double property. | |
Sets a float property. | |
Sets an int property. | |
Sets a long property. | |
Sets a property. | |
Sets a signed byte property. | |
Sets a short property. | |
Sets a string property. | |
The destination address for the QAMessage instance. | |
Gets the message's expiration value. | |
The message id of the message for which this message is a reply. | |
The globally unique message id of the message. | |
The priority of the message (ranging from 0 to 9). | |
Indicates whether the message has been previously received but not acknowledged. | |
The reply to address of this message. | |
The message timestamp. |
The derived classes QABinaryMessage and QATextMessage provide specialized methods to read and write to the message body. You can use QAMessage methods to set predefined or custom message properties.
For a list of predefined property names, see the MessageProperties.
For more information about setting message properties and header fields, see QAnywhere messages.
ClearBody method
ClearProperties method
GetBooleanProperty method
GetByteProperty method
GetDoubleProperty method
GetFloatProperty method
GetIntProperty method
GetLongProperty method
GetProperty method
GetPropertyNames method
GetPropertyType method
GetSbyteProperty method
GetShortProperty method
GetStringProperty method
PropertyExists method
SetBooleanProperty method
SetByteProperty method
SetDoubleProperty method
SetFloatProperty method
SetIntProperty method
SetLongProperty method
SetProperty method
SetSbyteProperty method
SetShortProperty method
SetStringProperty method
Address property
Expiration property
InReplyToID property
MessageID property
Priority property
Redelivered property
ReplyToAddress property
Timestamp property
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |