Java CAPS JMS Reference

sendBytesTo(payload, destination)

Description

Sends a message of type byte[] to the specified destination, using the JMS session’s default settings for message priority, time to live, and delivery mode.

Parameters

Name 

Type 

Description 

payload

byte[]

The byte array value. 

destination

java.lang.String

The name of the topic or queue from which this method receives messages. 

Return Value

None.

Exceptions

Throws JMSException if a message is null or if the JMS provider fails to send the message due to an internal error.