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 » trace node

Post new topic  Reply to topic
 trace node « View previous topic :: View next topic » 
Author Message
sakeme
PostPosted: Sat Sep 07, 2002 7:58 pm    Post subject: trace node Reply with quote

Newbie

Joined: 28 Aug 2002
Posts: 3

hi all
i have a message flow which has a trace node which i use to log errors to a file. mqsi logs message in some kind of text format.
But we want to write XML data into the log file. Is there any way i can do this ...
thank you all in advance
Back to top
View user's profile Send private message
kirani
PostPosted: Sat Sep 07, 2002 9:50 pm    Post subject: Reply with quote

Jedi Knight

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

You will have to write a plug-in node to do this. Existing Trace node will parse your message body while writing it out.
_________________
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
lillo
PostPosted: Sun Sep 08, 2002 10:48 pm    Post subject: Reply with quote

Master

Joined: 11 Sep 2001
Posts: 224

Hi,

To log your XML you can do the following:

- Use a compute node to record your message in the environment or in the localenvironment with the following code:
Code:
SET OutputLocalEnvironment.Variables.LogText = BITSTREAM(InputBody)


- In the trace node select the file option and in the patter enter the following code:
Code:
${LocalEnvironment.Variables.LogText}


I hope this help you.

Cheers,
_________________
Lillo
IBM Certified Specialist - WebSphere MQ
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 » trace node
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.