|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Logging Msg transformation failures (Message Control info) |
« View previous topic :: View next topic » |
Author |
Message
|
vininx |
Posted: Fri Jun 10, 2011 6:05 am Post subject: Logging Msg transformation failures (Message Control info) |
|
|
Acolyte
Joined: 13 Oct 2009 Posts: 69
|
Hi,
I am converting a C data structure to XML and while doing message transformation in the compute node, when any error occurs, both Message contol information and statistical information of the failed message should be logged in an output file. Currently if the transform error occurs, only the message data is getting logged in the file. Any idea on how to log those informations in a readable way in the file? |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jun 10, 2011 6:11 am Post subject: Re: Logging Msg transformation failures (Message Control inf |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
vininx wrote: |
Any idea on how to log those informations in a readable way in the file? |
a) What file? Where are you rolling the failed input to?
b) You can parse the Exception List to obtain the errors. There have been some posts in here you might find useful
c) I don't know what you mean by "message control information" or "statistical information" but I'm guessing it will be part of the answer to a) above.
d) Did you get the training recommended here or is my confusion because you're making terms up? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
vininx |
Posted: Fri Jun 10, 2011 6:18 am Post subject: Logging Msg transformation failures (Message Control info) |
|
|
Acolyte
Joined: 13 Oct 2009 Posts: 69
|
Thanks for your input...
a) I am moving the failed input to a FileOutput node and that is configured to be written into a text file in windows local machine.
c) Message control and statistical information are the MQMD fields along with Message data. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jun 10, 2011 6:24 am Post subject: Re: Logging Msg transformation failures (Message Control inf |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
vininx wrote: |
a) I am moving the failed input to a FileOutput node and that is configured to be written into a text file in windows local machine. |
I'd have moved to a queue so you can easily resubmit it when you've fixed the conversion problem (since the message must have come from a queue or you wouldn't be worried about the MQMD below) but whatever works for you. My comments about parsing the Exception List remain true.
vininx wrote: |
c) Message control and statistical information are the MQMD fields along with Message data. |
Then you can simply include this information in the file along with the exception by parsing the MQMD for the information you need. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
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
|
|
|
|