Author |
Message
|
deepu4u |
Posted: Mon Jul 13, 2009 3:36 am Post subject: how to find out the MQ server version using java code</eo |
|
|
Apprentice
Joined: 20 Jun 2005 Posts: 37
|
|
Back to top |
|
 |
Vitor |
Posted: Mon Jul 13, 2009 3:54 am Post subject: |
|
|
 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 |
|
 |
deepu4u |
Posted: Mon Jul 13, 2009 4:03 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Mon Jul 13, 2009 4:16 am Post subject: |
|
|
 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 |
|
 |
deepu4u |
Posted: Mon Jul 13, 2009 4:39 am Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Mon Jul 13, 2009 5:17 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
vmcgloin |
Posted: Mon Jul 13, 2009 5:20 am Post subject: |
|
|
Knight
Joined: 04 Apr 2002 Posts: 560 Location: Scotland
|
|
Back to top |
|
 |
mqjeff |
Posted: Mon Jul 13, 2009 5:28 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
Vitor |
Posted: Mon Jul 13, 2009 7:25 am Post subject: |
|
|
 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 |
|
 |
|