Sends a message of type byte[]
to the destination
configured in the Connectivity Map Editor, using the specified parameters.
Name |
Type |
Description |
---|---|---|
payload |
|
The byte array value. |
deliveryMode |
|
The message delivery mode. 1 indicates nonpersistent messages, 2 indicates persistent messages. |
priority |
|
The message priority (0 through 9, with 9 being the highest priority). |
timeToLive |
|
The length of time in milliseconds before the message expires. |
None.
Throws JMSException if a message is null or if the JMS provider fails to send the message due to an internal error.