On Windows you use the WebSphere MQ Explorer or WebSphere MQ Services snap-in, depending on which version of WebSphere MQ you are using, to configure the stanza.
The Switch file is called JMSSwitch.dll; see Refer to the WebSphere MQ System Administration Guide for details on how to update the qm.ini file.
The extra entry, called the XACloseString, should match the values provided for the XAOpenString.
For the broker's queue manager, place a stanza entry in an initialization file, for example qm.ini, for each JMS provider that can be used by a JMSInput node.
You must specify a stanza in the broker's queue manager .ini file for each JMS provider that you want to use. There must be one stanza for each new JMS provider, where the JMS provider can be specified by any JMSInput or JMSOutput node included in a message flow that is running on a broker.
The parameters that are supplied on XAOpenString are comma delimited and positional. Any missing optional parameter must be represented by a comma if other parameters are provided later in the string.
XAResourceManager: Name=WBIWMQJMS SwitchFile=/<Installation Path>/lib/JMSSwitch.so XAOpenString=<Initial Context Factory>, <location of JNDI bindings>' <LDAP Principal>, <LDAP Credentials>, <Recovery Connection Factory Name>, <JMS Principal>, <JMS Credentials> ThreadOfControl=THREADwhere:
The values for the Initial Context factory and Location of JNDI bindings in the stanza must match those specified in the JMSInput or JMSOutput nodes in the message flows.
Any LDAP parameters must match those that have been specified by using the mqsicreatebroker or mqsichangebroker command.
The Recovery Factory Name must match a Queue Connection Factory name that is created in the JNDI administered objects. If this is omitted, a default factory called recoverXAQCF is used. In either case this value must refer to a JNDI administered object that has already been created.
The JMS Principal and JMS Credentials must be configured together
XAResourceManager: Name=XAJMS_PROVIDER1 SwitchFile=/opt/var/mqsi/lib/JMSSwitch.so XAOpenString= com.sun.jndi.fscontext.RefFSContextFactory, /Bindings/JMSProvider1_Bindings_Directory, , , , myJMSuser1, passwd ThreadOfControl=THREADwhere:
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
ac28620_ |