Tuesday, August 4, 2009

How to Configure Xellerate with WebSphere MQ

Using WebSphere MQ: General Instructions

STEP 1. Prepare MQ
Install MQ in one or more machines as desired. Example: For fail over install MQ in one machine with hardware based fail over, or install MQ in multiple machines and create a clustered queue manager.

Create two queues in the Queue Manager. One queue will hold all the Messages and other queue is intended to be the DLQ. Naming the queues appropriately. For example: XLQueue and XLErrorQueue.

STEP 2: Removes queues hosted in Embedded Messaging
1. Start the WebSphere admin console.
2. Stop Xellerate Application. In case of clustered installation stop the Cluster running Xellerate.
3. Expand Resources and Select WebSphere JMS Provider.
4. Set the scope to the Cell Level for clustered and to the server level for non-clustered installations.
5. Click on Queue Connection Factories and remove xlConnectionFactory.
6. Click “WebSphere JMS Provider” to return to the WebSphere JMS Provider screen at the cell/server level.
7. Click on Queue Destinations and remove the xlQueue and xlErrorQueue.
8. Save your changes.

STEP 3: Change the xlJMSLogin credentials.
1. Expand Secutiry | JAAS Configuration and click on j2c Authentication Data.
2. Click on xlJMSLogin and change the username and password to the WebSphere MQ username and password.

STEP 4: Create WebSphere MQ Resources.
1. In the Resources section now click on WebSphere MQ JMS Provider.
2. Set the scope to Cell Level.
3. Click on WebSphere MQ Queue Connection Factories and create a new Connection Factory.
a. Make sure the JNDI Name of the connection factory is xlConnectionFactory.
b. Provide the other information required.
4. Perform Step 1 and 2, to return to the WebSphere MQ screen at Cell Level.
5. Click on WebSphere MQ Queue Destinations and create the xlQueue and xlErrorQueue.
a. Make sure the JNDI Names are queue/xlQueue and queue/xlErrorQueue respectively.
b. Provide other information as required.



Example screen shot for WebSphere xlConnectionFactory:






Example Screen Shot for XLQueue

No comments:

Post a Comment