WebLogic Messaging API Class Library |

# IMessage.JMSDestination Property

Gets the `IDestination` object for this message.

The `JMSDestination` header field contains the destination to which the message is being sent.

Important: 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 or the producer.

When a message is received, its `JMSDestination` value is equivalent to the value assigned when it was sent.

JMSDestination {get;}

#### Exceptions

Exception Type | Condition
--- | ---
MessageException | if JMS fails to get the destination due to some internal error.

#### See Also

IMessage Interface | WebLogic.Messaging Namespace | IDestination | IMessageProducer.Destination