Sun Java System Message Queue 4.3 Administration Guide

ManagedConnectionFactory JavaBean

A managed connection factory defines the connections that the Resource Adapter provides to a message-driven bean. Table 19–2 shows the properties of the ManagedConnectionFactory JavaBean; if set, these properties override the corresponding properties of the ResourceAdapter JavaBean.

Table 19–2 Managed Connection Factory Properties

Property 

Type 

Default Value 

Description 

addressList

String 

Inherited from ResourceAdapter JavaBean (see Table 19–1)

List of message service addresses for connecting to Message Queue service 

userName [Optional]

String 

guest

User name for connecting to Message Queue service 

password

String 

guest

Password for connecting to Message Queue service 

clientID

String 

None 

Client identifier for connections 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