Java CAPS JMS Reference

Additional JMS Message Properties

You can also set the message properties for outbound JMS messages. These property nodes are shown in the following figure, as they appear in the user interface. These properties determine only how the message is sent. When you set these properties in a Java based Collaboration Definition, they override the corresponding JMS client message properties, and are used only by the Collaboration that uses that specific Collaboration Definition. For information on setting these properties in the JMS clients, see Configuring JMS Clients.

Figure 1–14 JMS OTD Outbound Property Nodes

Screen capture showing JMS outbound property
nodes in OTD tree.

The following table shows the allowed values for the outbound JMS message properties and the JMS methods used when you set a property in a Collaboration.

Property 

Allowed Values 

Equivalent JMS Methods 

deliveryMode

Persistent, nonpersistent 

getDeliveryMode()

setDeliveryMode(arg0)

priority

0 - 9 where 9 is the highest priority 

getPriority()

setPriority(arg0)

timeToLive

Number in milliseconds 

getTimeToLive()

setTimeToLive(arg0)

destination

Destination 

getDestination()

setDestination(arg0)

MessageServerURL

A valid URL 

getMessageServerURL()

setMessageServerURL(arg0)

For more information about these properties, refer to the equivalent JMS method description in the indicated locations.