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 » exception in trace

Post new topic  Reply to topic
 exception in trace « View previous topic :: View next topic » 
Author Message
saram1920
PostPosted: Thu Jan 08, 2004 7:02 am    Post subject: exception in trace Reply with quote

Novice

Joined: 23 Sep 2003
Posts: 12

hi everybody....

I have a doubt in trace node!!!

in the message flow, I have connected the the failure terminal and catch terminal to a trace node and followed with a failure queue.

*** I am trying capture ...Root & ExceptionList in Trace ****


now, my question is ....would there be any exception raised such that....it cannot write it to the trace node. I mean messasge failing in the trace node...and the message get thrown away or so. if so, what sort of exception it would be.

or...at any case, any exception...it will pass through the trace node.


thanx in advance.
saram
Back to top
View user's profile Send private message
kirani
PostPosted: Thu Jan 08, 2004 11:26 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

saram,

If you print ${Root} in the trace node, WMQI will try to parse the message, and if the message is not correct, WMQI will throw an Exception and the message will roll-back.
It depends on your message flow design to indicate where your message will go in case of failure. Avoid printing ${Root} in your message flow, instead print ${ExceptionList} only. Also, it's a good idea to write failed messages to some queue.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
saram1920
PostPosted: Thu Jan 08, 2004 4:09 pm    Post subject: Reply with quote

Novice

Joined: 23 Sep 2003
Posts: 12

Kiran..

Thanks for your reply...

I did'nt get the full answer as such...probably I didnt phrase my question!! properly...


when we write....${ExceptionList} in the trace node, ...it writes the ExceptionList,
so, I was wondering....will there can be any chance that the message fails in trace node....and doesnt write ExceptionList and message gets thrown away!!....

or there cannot be message failed in the trace....no matter what exception, it writes the ExceptionList

do please correct me if I wrong!..

thanks in advance

-saram
Back to top
View user's profile Send private message
kirani
PostPosted: Thu Jan 08, 2004 4:36 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Well, again it depends on what code you have in your Trace node.

Quote:

when we write....${ExceptionList} in the trace node, ...it writes the ExceptionList, so, I was wondering....will there can be any chance that the message fails in trace node....and doesnt write ExceptionList and message gets thrown away!!....

Consider you only have ${ExceptionList} in your trace node. WMQI will never fail when writing this to a file. IF the trace path is invalid, it will log that as a warning message and continue further. If your disk space if full, then I think you have a bigger problem!! Specially if the drive is same as your broker drive (where WMQI is installed).

Quote:

or there cannot be message failed in the trace....no matter what exception, it writes the ExceptionList

That's correct. But, remember that the Trace node is capable of throwing an Exception. Like parsing error (example in my previous post), runtime error, etc.

I hope you got your answer this time!
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
saram1920
PostPosted: Thu Jan 08, 2004 8:46 pm    Post subject: Reply with quote

Novice

Joined: 23 Sep 2003
Posts: 12

thanks..kiran..

got the answer......now, I'm cleared

-saram
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 » exception in trace
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.