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 » [Solved] Parsing MQ Series Event Q Messages

Post new topic  Reply to topic
 [Solved] Parsing MQ Series Event Q Messages « View previous topic :: View next topic » 
Author Message
apsy
PostPosted: Tue Mar 16, 2004 11:16 am    Post subject: [Solved] Parsing MQ Series Event Q Messages Reply with quote

Novice

Joined: 10 Feb 2004
Posts: 24

1.Does anyone have a sample Java program to parse MQ Series Event Q Messages .
2. Are there any constants defined in Java for the different error/reason codes for the event messages.


Thanks
Apsy
Back to top
View user's profile Send private message
gunter
PostPosted: Wed Mar 17, 2004 12:27 pm    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2004
Posts: 307
Location: Germany, Frankfurt

Use the API for PCF messages to read events. I used it with MQAI, never with java.
Back to top
View user's profile Send private message
apsy
PostPosted: Wed Mar 17, 2004 12:46 pm    Post subject: Reply with quote

Novice

Joined: 10 Feb 2004
Posts: 24

Thanks!
I just figured out how to parse the MQ Event Q messages using
the ms0b support pack from IBM's web site.
However, I am still on the look out for the MQ constants definition. Otherwise, I just have to create a final class and define all the MQ constants as static variables . They are actually available in mq C header files. For java, looks like I have to create them on my own.

-apsy
Back to top
View user's profile Send private message
EddieA
PostPosted: Wed Mar 17, 2004 12:58 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Which constants. Try: com.ibm.mq.pcf.CMQC and com.ibm.mq.pcf.CMQCFC

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
apsy
PostPosted: Wed Mar 17, 2004 1:26 pm    Post subject: Reply with quote

Novice

Joined: 10 Feb 2004
Posts: 24

Thanks Eddie,
I got it ! They were the one I was looking for!
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 » [Solved] Parsing MQ Series Event Q Messages
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.