The following instructions cover using PowerExchange for JMS with an IBM WebSphere MQ (version 7.0):
Add the following WebSphere MQ libraries to $INFA_HOME/server/bin/javalib (or $CLASSPATH):
Edit the JMSAdmin.config file located in <WebSphereMQ>/Java/bin directory.
Set the following properties:
Create the directory /var/mqm/jndi.This directory will hold the JNDI bindings for looking up JMS Connection Factories and Destinations within MQSeries.
Edit the JMSAdmin.config file located in <WebSphereMQ>\Java\bin directory
Create the directory D:\JNDIBindings This directory will hold the JNDI bindings for looking up JMS Connection Factories and Destinations within MQSeries.
Create the JMS connection factory using the WebSphere MQ Explorer as follows:
Right click on JMS Administered Objects.
Select Add Initial Context ....
Select File System.
In the Bindings Director field, enter file:/var/mqm/jndi (UNIX) or file://localhost/D:/JNDIBindings (Windows).
Click Finish. When finished, a JNDI bindings file called .bindings should appear in the directory specified above.
Right-click on the Connection Factories folder and select New > Connection Factory.
Enter Connection_Factory in the name field and click Next.
Select Queue Connection Factory in the Type list.
Create a JMS destination using the WebSphere MQ Explorer as follows:
Click on the plus (+) sign next to the Queue Manager name to expand the view and see all the folders.
Right click on the Queues folder and select New > Local Queue.
Enter INPUTQ in the name field and click Finish.
Repeat the above to define another local queue called OUTPUTQ.
In the PowerCenter Workflow Manager do the following:
Create a JNDI Application connection, and set the properties as follows:
JNDI Context Factory = com.sun.jndi.fscontext.RefFSContextFactory
JNDI Provider URL = file:/var/mqm/jndi (UNIX) OR file://localhost/D:/JNDIBindings (Windows)
Create a JMS Application connection, and set the properties as follows:
JMS Connection Factory Name = Connection_Factory
JMS Destination = INPUTQ (to read from INPUTQ) OR OUTPUTQ (to write to OUTPUTQ)
Create a JMS session with these JNDI/JMS connections.
HOW TO: Configure PowerExchange for JMS with IBM WebSphere Application Server (113691)
What can we do to improve this information (2000 or fewer characters)