Pages

Sunday 3 November 2013

Testing TIBCO EMS with SOAPUI

Configuring HermesJMS for TIBCO EMS
HermesJMS provides a GUI to access JMS queues and topics for common tasks such as
1) sending messages,
2) removing messages and
3) copying messages between queues and topics.
CONFIGURATION:-
Start HermesJMS
S



When Hermes started successfully, click on “Create new JMS session” button, preferences window will appear, select providers tab and right-click on free space Then press “Add Group” and enter group name. Right-click on “Library” and press “Add JAR(s)”.
Look in <tibco_home>\ems\5.1\lib folder and select all .jar files there. Click “Open”, then let Hermes to scan jars for factories.
press “Scan” button.


All libraries will be in the list like on image shown below.
 Then press “Apply”.
Go to “Sessions” tab and enter name for session: “EMS” for example
then select “EMS” loader
Next step is select “com.tibco.tibjms. TibjmsConnectionFactory” class and “Tibco EMS” plugin.
Order is very important.
select loader, then class, then plug in.


Right-click on free space in plugin section and press “Add property”. You have to enter all three properties:
usernamepassword and serverURL, do the same for Connection Factory,






Give the values to the properties.


then press “OK” to save and close properties window.
Now we can connect Hermes to our EMS. Let it discover queues and topics, press “Discover queues and topics from the provider” button.
Then confirm replacement of the current set of destinations and list will be updated.








The list of queues and topic will be appear as shown below.








Now you let us test hermesJMS with simple example
In the following screenshot jms Queue receiver’s destination queue is “vinay”   
Now I am sending message on queue whose name  is “vinay”
Then message is successfully received by jms Queue receiver.

No comments:

Post a Comment