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 » WebSphere Message Broker (ACE) Support » in which jar is com.ibm.mq.constants package?

Post new topic  Reply to topic
 in which jar is com.ibm.mq.constants package? « View previous topic :: View next topic » 
Author Message
Esa
PostPosted: Fri Feb 25, 2011 4:09 am    Post subject: in which jar is com.ibm.mq.constants package? Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

Hello

I have checked every jar file in MQ java/lib directory and I cannot find com.ibm.mq.constants package and MQConstants class in any of them. Must I download the jar separately, is it in some support pack? Or am I just plain stupid?

I have had the same problem earlier and ended up using the deprecated MQC class instead.
Back to top
View user's profile Send private message
Esa
PostPosted: Fri Feb 25, 2011 4:25 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

I think there is a good reason for hiding that package. If you use one of the constants in your java compute node, JVM runtime will load MQConstants class with 2 million static fields...

Any comments?
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Fri Feb 25, 2011 4:44 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

I'm not sure what your meaning is. I use it all the time. If you intend to send MQ messages from a Java program, it is required. I have not noticed any performance impact regarding this class. Is there some problem you are having that maybe we can help you with?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Esa
PostPosted: Fri Feb 25, 2011 4:58 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

lancelotlinc wrote:
Is there some problem you are having that maybe we can help you with?


Yes. I cannot find the jar where the class is packaged.
Back to top
View user's profile Send private message
vmcgloin
PostPosted: Fri Feb 25, 2011 5:01 am    Post subject: Reply with quote

Knight

Joined: 04 Apr 2002
Posts: 560
Location: Scotland

com.ibm.mq.jmqi.jar ?
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Fri Feb 25, 2011 5:07 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Quote:
The information pertaining to the deprecated interface 'com.ibm.mq.MQC' should read as follows: com.ibm.mq.MQC
Using this class is not recommended. The com.ibm.mq.constants.MQConstants class should be used instead. This class is located in the jar file 'com.ibm.mq.jmqi.jar'.


http://www-01.ibm.com/support/docview.wss?uid=swg1IC59935
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Esa
PostPosted: Fri Feb 25, 2011 5:23 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

Thanks,

I was sure I checked that one twice, too. It seemed to contain only localized properties files... must have got bored before reaching the end.

I think I must vitorize my avatar before anyone recognizes me...
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Fri Feb 25, 2011 5:38 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

While I see the benefit of vitorizing, I much prefer a straight face-to-face honest injun approach. This pic of mine was taken in my pad before I was evicted for that party three years ago: http://www.cavemanscrib.com

Lance
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Fri Feb 25, 2011 6:28 am    Post subject: Reply with quote

Grand High Poobah

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

Esa wrote:
I think I must vitorize my avatar before anyone recognizes me...


What do you mean? Everyone on site says it's a really good likeness. My wife claims it's my best side.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Feb 25, 2011 6:47 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Vitor wrote:
Esa wrote:
I think I must vitorize my avatar before anyone recognizes me...


What do you mean? Everyone on site says it's a really good likeness. My wife claims it's my best side.


I regret to inform you that you no longer have as much hair as your avatar does.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 25, 2011 7:03 am    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:
I regret to inform you that you no longer have as much hair as your avatar does.


Ouch.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Feb 25, 2011 7:37 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Vitor wrote:
mqjeff wrote:
I regret to inform you that you no longer have as much hair as your avatar does.


Ouch.
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 » WebSphere Message Broker (ACE) Support » in which jar is com.ibm.mq.constants package?
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.