ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Performance Monitoring » Diff b/w WebSphere MQ classes for Java and JMS

Post new topic  Reply to topic
 Diff b/w WebSphere MQ classes for Java and JMS « View previous topic :: View next topic » 
Author Message
pandeg
PostPosted: Mon May 09, 2016 1:42 pm    Post subject: Diff b/w WebSphere MQ classes for Java and JMS Reply with quote

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
View user's profile Send private message
hughson
PostPosted: Mon May 09, 2016 3:14 pm    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
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
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Mon May 09, 2016 3:29 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Performance Monitoring » Diff b/w WebSphere MQ classes for Java and JMS
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.