Sun Java System Message Queue 3.7 UR1 Administration Guide

ResourceAdapter JavaBean

The ResourceAdapter configuration configures the default JMS Resource Adapter behavior. Table 17–1 lists and describes the properties with which you can configure this JavaBean.

Table 17–1 Resource Adapter Properties

Property 

Type 

Default 

Description 

addressList

String 

mq://localhost:7676/jms

(Required) Message service address for connecting to Message Queue service

Equivalent to connectionURL (below); you must set one or the other.

connectionURL

String 

mq://localhost:7676/jms

 

Message service address for connecting to the Message Queue service 

Equivalent to addressList(above); you must set one or the other.

userName

String 

guest

(Required) Default user name for connecting to Message Queue service

password

String 

guest

(Required) Default password for connecting to Message Queue service

addressListBehavior

String 

PRIORITY

Order in which to attempt connection to Message Queue service:  

    PRIORITY: Order specified in address list


    RANDOM: Random order



Note –

Reconnection attempts after a connection failure start with the broker whose connection failed and proceed sequentially through the address list, regardless of the value set for this property.


addressListIterations

Integer 

1

Number of times to iterate through address list attempting to establish or reestablish a connection 

reconnectEnabled

Boolean 

false

Attempt to reestablish a lost connection?

reconnectAttempts

Integer 

6

Number of times to attempt reconnection to each address in address list before moving on to next

reconnectInterval

Long integer 

30000

Interval, in milliseconds, between reconnection attempts