P. 1
How to use MQ JMSJCA to connect to IBM WebSphere Message Queue 6

How to use MQ JMSJCA to connect to IBM WebSphere Message Queue 6

|Views: 241|Likes:
Published by api-3757581

More info:

Published by: api-3757581 on Oct 15, 2008
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less





How to use MQ JMSJCA to connect to IBM WebSphere Message Queue 6.0 in 5.1.

3 Java CAPS Instructions on how to use MQ JMSJCA to connect to IBM WebSphere Message Queue 6.0 in 5.1.3 Java CAPS In the Environment->WebSphereMQ->Configuration 1) Use the "IBM MQ Message Server URL" field to specify a host name and a port number. For example: wmq://localhost:1414 Content of the "QueueManager" field will be appended to the "IBM MQ Message Server URL field" to form a complete URL wmq://[hostname]:[port]?QueueManager=[queue manager name]&option1=value1&option2=value2 2) Use the "QueueManager" field to specify the name of a queue manager. For example: QM_myQMgr 3) If you want to add options to the URL, you have to add them to the "QueueManager" field. For example to turn off XA and to switch to the "binding" mode, type the following in the "QueueManager" field: QM_myQMgr&JMSJCA.NoXA=true&TransportType=JMSC.MQJMS_TP_BIND INGS_MQ In the above you need to replace QM_myQMgr with the name of a real queue manager. And for the rest, you need to type exactly as shown. Options are separated by the "&" character which is "&" in HTML. The following options are supported: TransportType Channel JMSJCA.NoXA The default transport type is "client" TCP, if you do not have TransportType=JMSC.MQJMS_TP_BINDINGS_MQ option in the "QueueManager" field. The default transaction mode is XA if you do not have the JMSJCA.NoXA=true option in the "QueueManager" field. 3) The "TransportType" field in the GUI is ignored due to a defact. It does not matter what you enter here. You have to use the "QueueManager" field to switch to the "binding" mode.

4) Before deploying your project, copy the following jar files to \logicalhost\is\lib or add the path to the jar files to the classpath of the Integration Server: * com.ibm.mqjms.jar * com.ibm.mq.jar * com.ibm.mqetclient.jar * dhbcore.jar com.ibm.mqetclient.jar is not needed for "binding" mode. 5) MQ JMS supports JMS API. You can use it just like a normal JMS server. However you have to use tools provided by IBM (e.g., MQ Explorer) to monitor the MQ. Enterprise Manager management functionality is not supported for WebSphere MQ. Only JMQ, Grid and STCMS are supported.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->