Java CAPS JMS Reference

Parameters

Name 

Type 

Description 

message

com.stc.connectors.jms.Message

The message variable to be created. 

deliveryMode

int

The message delivery mode. 1 indicates nonpersistent messages, 2 indicates persistent messages. 

priority

int

The message priority (0 through 9, with 9 being the highest priority). 

timeToLive

long

The length of time in milliseconds before the message expires.