Wednesday, May 6, 2009

Hermes - JMS browser - Configuring for WAS JMS Provider

Finally I could configure it with WAS embedded JMS provider

First I defined a classpath group WAS and added WAS jar files
sibc.jms.jar
sibc.jndi.jar
sibc.orb.jar
idl-6.1.0.1.jar

Then I created a context with Loader=WAS and other properties (provider URL, initial context factory, credentials, principal)
Added a user properties file with following line
com.ibm.CORBA.ORBInit=com.ibm.ws.sib.client.ORB
Added a new session WAS
with asession=WAS, Loader=WAS, Class=hermes.JNDIQueueConnectionFactory, binding=jms.connection.OFRQueueFactory, initial Context Factory - com.ibm.websphere.naming.WsnInitialContextFactory, user properties file=

and it worked like magic!!