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 |
---|---|---|---|
String |
Inherited from ResourceAdapter JavaBean (see Table 19–1) |
List of message service addresses for connecting to Message Queue service |
|
String |
guest |
User name for connecting to Message Queue service |
|
String |
guest |
Password for connecting to Message Queue service |
|
String |
None |
Client identifier for connections to Message Queue service |
|
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. |
|
Integer |
1 |
Number of times to iterate through address list attempting to establish or reestablish a connection |
|
Boolean |
false | ||
Integer |
6 |
Number of times to attempt reconnection to each address in address list before moving on to next |
|
Long integer |
30000 |
Interval, in milliseconds, between reconnection attempts |