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 » Function of Trace Node and extracting data from it

Post new topic  Reply to topic
 Function of Trace Node and extracting data from it « View previous topic :: View next topic » 
Author Message
jeevan
PostPosted: Thu Oct 26, 2006 9:42 am    Post subject: Function of Trace Node and extracting data from it Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

can some one give me some idea what happens when a message flow has three node:

MQinput
Trace
MQoutput

what I am trying to do is extracting msgid from header and write to a log file along with time stapm.

I am not sure how i can extract an item from header?

Thank you very much for you cooreation as usual
Back to top
View user's profile Send private message
madi
PostPosted: Thu Oct 26, 2006 9:48 am    Post subject: Reply with quote

Chevalier

Joined: 17 Jan 2006
Posts: 475

in the trace node

Code:
Root: ${Root}

TimeStamp: ${CURRENT_TIMESTAMP}


you should everything in your root and then u can modify to get whatever headers u want

--madi
Back to top
View user's profile Send private message
jeevan
PostPosted: Thu Oct 26, 2006 9:52 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

Thank you very much for your prompt replyu. Just one more thing. If I need msgid then can I do like:

set Outmsgid=Root.msgid

Thank you for your help
Back to top
View user's profile Send private message
jeevan
PostPosted: Thu Oct 26, 2006 10:32 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

Does this work?

SET OutputLocalEnvironment.MQMD.MsgId=InputRoot.MQMD.MsgId
Back to top
View user's profile Send private message
madi
PostPosted: Thu Oct 26, 2006 10:50 am    Post subject: Reply with quote

Chevalier

Joined: 17 Jan 2006
Posts: 475

may be ${Root.MQMD.MsgId} will work??

haven't tested it but u can try

--madi
Back to top
View user's profile Send private message
jeevan
PostPosted: Thu Oct 26, 2006 11:01 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

I tried to find documentaiton which shows the logical structure of message trace node can access. I found one one place something like this:

Quote:

root

MQMD
.
.
.
.
MQRFH
.
.
XML

Is this what we can access in tracenode for manipulation?

thanks a lot
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Oct 26, 2006 11:26 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Please get some training on WMB. You're trying to do things that show you are lacking a basic understanding of the product.

A Trace node is a node that does not alter the message, and so it does not use InputRoot, OutputRoot, or etc. It only uses Root, Environment, LocalEnvironment or etc.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
madi
PostPosted: Thu Oct 26, 2006 11:27 am    Post subject: Reply with quote

Chevalier

Joined: 17 Jan 2006
Posts: 475

i think thats what u can access in the trace node

what do you mean by manipulation??

madi
Back to top
View user's profile Send private message
jeevan
PostPosted: Thu Oct 26, 2006 11:35 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

Madi wrote
Quote:

what do you mean by manipulation??


By manipulation I mean, when we can extract a item from the root, we can write to a file file for example


thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Oct 26, 2006 11:43 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac00510_.htm
_________________
I am *not* the model of the modern major general.
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 » Function of Trace Node and extracting data from it
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.