|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
setting mqsichangetrace from a trace node |
« View previous topic :: View next topic » |
Author |
Message
|
kumarp |
Posted: Tue Jul 08, 2003 7:23 am Post subject: setting mqsichangetrace from a trace node |
|
|
Novice
Joined: 20 May 2003 Posts: 23
|
Hi,
I am writing a simple Integrator application, and I have a trace node that gets written to only if there is an error when processing a message in my flow. I have the trace node connected to the catch terminal of my input node. Is there a way to set a mqsichangetrace to only be on if an error is encountered? I would like to get the useful output from a user trace into the file written by my trace log, but i do not always want the trace to be on for performance reasons.
Any thoughts would be useful.
Thanks! |
|
Back to top |
|
 |
Craig B |
Posted: Tue Jul 08, 2003 8:04 am Post subject: |
|
|
Partisan
Joined: 18 Jun 2003 Posts: 316 Location: UK
|
It is not possible to invoke the mqsichangetrace command from a trace node. It is possible to set the trace node so that it writes information to the local error log and if other external monitor products are used then these messages can be used to trigger other applications in the system.
However, from your description it would seem that if you get an error, you want to capture a user trace of the error. But if you do this based on an error that has just occured then if you do find a way of switching tracing on, you will not capture the error in the user trace. The user trace will run from the time you switch it on, and if the error has already occured, then it wont be in the trace time frame.
When catching errors yourself, then an ExceptionList is generated which contains details of the error that has occurred. This can be queried directly in the flow, and written out in a trace node to give details of the error that has occured. _________________ Regards
Craig |
|
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
|
|
|
|