JNDI look up in Websphere 6.0 to Test MQ 5.3 Queue, Message Beans with JMS

December 12th, 2005
If you have read my other post Configuring Rational Software Development Platform Test Environment 6.0 to use a WebSphere MQ 5.3 Queue
I used JMSAdmin as my service provider for inserting objects into the queue.
QueueIBMTest.java uses websphere 6.0 as my service provider to insert items in an MQ queue using JMS.
It will use a Websphere test server as its provider.
So once you have websphere MQ connections set up you can use this tool
to test your message bean. Of course you need to edit the connection factory and queue name to
what ever you set in websphere.
You need to add the following jars to your class path in RAD to get it to work.
C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\lib
naming.jar
namingclient.jar
namingserver.jar
You will also need all the jars files in C:\Program Files\IBM\WebSphere MQ\Java\lib in your classpath to run
To Run:
Java QueueIBMTest

Technorati Tags: , , , , , ,

Leave a Comment