In accordance with the X/Open XA interface specification, a distributed transaction manager needs the following information regarding the Message Queue XA-compliant resource manager:
Name of the xa_switch_t structure: sun_my_xa_switch
Name of the Resource Manager: SUN_RM
The MQ C-API library to be linked: mqcrt
The xa_close string and format: none
The xa_open string and format: semicolon (“;”)-separated name/value pairs
The following name/value pairs are supported:
Table 2–12 Message Queue Resource Manager Name/Value Pairs
Name |
Value |
Description |
Default |
---|---|---|---|
address |
host:port |
The host:port of the broker's Portmapper service. |
localhost:7676 |
username |
string |
The username for connecting to the broker |
guest |
password |
string |
The username's password |
guest |
conntype |
TCP or SSL |
The protocol type of the connection to the broker |
TCP |
trustedhost |
true/false |
Whether the broker host is trusted (only applicable for conntype=SSL) |
true |
certdbpath |
string |
The full path to the directory that contains NSS certificate and key database files |
not set |
clientid |
string |
Required only for JMS durable subscriptions |
not set |
reconnects |
integer |
The number of re-connection attempts to broker (0 means no reconnect) |
0 |