|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Diff b/w WebSphere MQ classes for Java and JMS |
« View previous topic :: View next topic » |
Author |
Message
|
pandeg |
Posted: Mon May 09, 2016 1:42 pm Post subject: Diff b/w WebSphere MQ classes for Java and JMS |
|
|
Disciple
Joined: 21 Oct 2014 Posts: 195
|
Hi, I was trying to find what is the difference between webSphere MQ classes for Java and WebSphere MQ classes for JMS. We are Websphere MQ client jar in our java application to connect to Queue Manager. How can i check which one i am using ? |
|
Back to top |
|
 |
hughson |
Posted: Mon May 09, 2016 3:14 pm Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
They are two different distinct APIs, so take a look at each in Knowledge Center and you will see which you are using. Or, if you prefer to see code, take a look at the two different sets of samples provided with IBM MQ. One in wmqjava directory and one in jms directory and compare the APIs used in those to the ones in your own application.
Cheers
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon May 09, 2016 3:29 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
hughson wrote: |
They are two different distinct APIs, so take a look at each in Knowledge Center and you will see which you are using. Or, if you prefer to see code, take a look at the two different sets of samples provided with IBM MQ. One in wmqjava directory and one in jms directory and compare the APIs used in those to the ones in your own application.
Cheers
Morag |
And remember that you cannot share a connection between the two stiles. Your connection is either to be used in JMS or java base but never in both.
Even if the MQQueue is a class that appears in both stiles the content and packages are different and you may not cast one to the other...
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|