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 » Logging Msg transformation failures (Message Control info)

Post new topic  Reply to topic
 Logging Msg transformation failures (Message Control info) « View previous topic :: View next topic » 
Author Message
vininx
PostPosted: Fri Jun 10, 2011 6:05 am    Post subject: Logging Msg transformation failures (Message Control info) Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Fri Jun 10, 2011 6:11 am    Post subject: Re: Logging Msg transformation failures (Message Control inf Reply with quote

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
View user's profile Send private message
vininx
PostPosted: Fri Jun 10, 2011 6:18 am    Post subject: Logging Msg transformation failures (Message Control info) Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Fri Jun 10, 2011 6:24 am    Post subject: Re: Logging Msg transformation failures (Message Control inf Reply with quote

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
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 » Logging Msg transformation failures (Message Control info)
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.