Tuesday, March 19, 2013

Hermes configuration for OpenMQ or SUN MQ


Start SOAPUI

Goto Tools menu select HermesJMS

In Sessions tab there will be jms-> sessions

Machine generated alternative text: :
File Messages Actons Options Help
Sessions
jms_____
w. 
:  contexts
W Q stores
: Q files

Right click ->new->new session

Machine generated alternative text: Preferences
Sesson
Session: <new> Use Consumer: F
Audit:  Transacted: I
Plug In
Default
Property I Value I
Connecton Factory
Class: Ihermes.NullConnectionFactory Loader: Isystem
Property I Value I
Destinabons
Name ShortiJame J Domain
examples.xml QUEUE
fix. xml QUEUE
Connection
ClieritlD: F User: Password: j ¡ Shareci
L
. [ Providers General j Renderers
OK Cancel  I

Name the session as SUNMQTEST
Machine generated alternative text: IE Preferences
Session
Session: SUNMQTEST Us
Audit: r

Goto provider tab
Machine generated alternative text: Sessions Providers General_L Renderers_j

Right click-> add group and name it SUN MQ

Machine generated alternative text: Preferences
ClasspathGroups
ClasspathGroups containing JMS providers and dependent libraries.
Classpath Groups
W SUN MQ

Right click -> add jars and add following jars in list

fscontext.jar
imq.jar
imqadmin.jar
imqbroker.jar
imqjmx.jar
imqutil.jar
imqxm.jar
jaxm-api.jar
jms.jar
jhall.jar
imqservlet.jar
hermes-imq.jar

Press apply and go to Sessions tab

In the loader select SUN MQ will be available as loader

Machine generated alternative text: Connection Factory
Class: IhermesNu11ConrectcmnFa1:tc Loader:
. Property Value
System
E
J

Now add class as below

Machine generated alternative text: Connection Factory
Class: IIiNd.ir*I. ext. imq. ConnectonFactory
j Property Value I
Loader:

And in the property below add as below

Machine generated alternative text: Connection Factory
Class: hermes.ext.imq .ConnectionFactory Loader: SUN MQ
Property I Value
imqBrokerHostName
imqBrokerHostPort
imqDefaultUsername
frnqDefaultPassword

You will see sessions tab.

Right click on newly created session SUNMQTEST-> discover

You get pop saying how many destinations are discovered, click yes to pop up

And you are there!

No comments:

Post a Comment