|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
[Solved] Parsing MQ Series Event Q Messages |
« View previous topic :: View next topic » |
Author |
Message
|
apsy |
Posted: Tue Mar 16, 2004 11:16 am Post subject: [Solved] Parsing MQ Series Event Q Messages |
|
|
 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 |
|
 |
gunter |
Posted: Wed Mar 17, 2004 12:27 pm Post subject: |
|
|
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 |
|
 |
apsy |
Posted: Wed Mar 17, 2004 12:46 pm Post subject: |
|
|
 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 |
|
 |
EddieA |
Posted: Wed Mar 17, 2004 12:58 pm Post subject: |
|
|
 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 |
|
 |
apsy |
Posted: Wed Mar 17, 2004 1:26 pm Post subject: |
|
|
 Novice
Joined: 10 Feb 2004 Posts: 24
|
Thanks Eddie,
I got it ! They were the one I was looking for! |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|