Gets the Destination object for this message.
The JMSDestination header field contains the destination to which the message is being sent.
When a message is sent, this field is ignored. After completion of the send or publish method, the field holds the destination specified by the method.
When a message is received, its JMSDestination value must be equivalent to the value assigned when it was sent.
Sets the Destination object for this message.
JMS providers set this field when a message is sent. This method can be used to change the value for a message that has been received.
Assembly: Kaazing.JMS (in Kaazing.JMS.dll)
Syntax
| Visual Basic |
|---|
Property JMSDestination As IDestination Get Set |
| C# |
|---|
IDestination JMSDestination { get; set; } |
| Visual C++ |
|---|
property IDestination^ JMSDestination { IDestination^ get (); void set (IDestination^ value); } |
Return Value
the destination of this message
Exceptions
| Exception | Condition |
|---|---|
| Kaazing.JMS..::..JMSException | if the JMS provider fails to get the destination due to some internal error. |
| Kaazing.JMS..::..JMSException | if the JMS provider fails to set the destination due to some internal error. |