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 Java / JMS » how to find out the MQ server version using java code</eo

Post new topic  Reply to topic
 how to find out the MQ server version using java code</eo « View previous topic :: View next topic » 
Author Message
deepu4u
PostPosted: Mon Jul 13, 2009 3:36 am    Post subject: how to find out the MQ server version using java code</eo Reply with quote

Apprentice

Joined: 20 Jun 2005
Posts: 37

thanks,
Deepak
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Vitor
PostPosted: Mon Jul 13, 2009 3:54 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Why on Earth would you want to find this information programatically? It makes no difference to the application, and a script can do it if you've a number of servers to administer & have not made notes of which version you've installed where!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
deepu4u
PostPosted: Mon Jul 13, 2009 4:03 am    Post subject: Reply with quote

Apprentice

Joined: 20 Jun 2005
Posts: 37

The reason I need this info it that my application can be used for any version of MQServer. In MQ7.0 version, there is no support for RFH2 headers, rather one need to use Message Properties. At the same time MQ 6.0 has full support for RFH2 headers.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Vitor
PostPosted: Mon Jul 13, 2009 4:16 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

deepu4u wrote:
In MQ7.0 version, there is no support for RFH2 headers, rather one need to use Message Properties.


So v7 doesn't support JMS? That's a piece of news I didn't know.

Obviously you would be trying to manipulate an RFH2 using the base api because that would just be reinventing the wheel.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
deepu4u
PostPosted: Mon Jul 13, 2009 4:39 am    Post subject: Reply with quote

Apprentice

Joined: 20 Jun 2005
Posts: 37

What I mean by does not support here is that the api do not recognize the MQRFH2 header anymore rather api expect all the rfh2 header properties to be set as Message Properties.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
mqjeff
PostPosted: Mon Jul 13, 2009 5:17 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/topic/com.ibm.mq.csqzaw.doc/jm25430_.htm
Back to top
View user's profile Send private message
vmcgloin
PostPosted: Mon Jul 13, 2009 5:20 am    Post subject: Reply with quote

Knight

Joined: 04 Apr 2002
Posts: 560
Location: Scotland

I was going to say: http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/topic/com.ibm.mq.csqzal.doc/fg20720_.htm

Basically, they ought to be compatible? So you should not need to determine the version in the app.


Last edited by vmcgloin on Mon Jul 13, 2009 6:02 am; edited 1 time in total
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Jul 13, 2009 5:28 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

That's a good one too.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jul 13, 2009 7:25 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

vmcgloin wrote:
So you should not need to determine the version in the app.


I did think it would be a radical new move if they weren't. But I really should stop trying to answer Java questions.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » how to find out the MQ server version using java code</eo
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.