|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Trace Node |
« View previous topic :: View next topic » |
Author |
Message
|
sarika.rawat |
Posted: Thu Mar 29, 2012 5:10 am Post subject: Trace Node |
|
|
Newbie
Joined: 18 Oct 2011 Posts: 2
|
Hi,
I am using trace node which is reading some field from the message coming in for the string value I can see in Trace file its coming with single quotes.
like
<Name>abc</Name>
if i put in trace file as ${Root.XMLNSC.*:abc.*:Name
and the value coming in trace file is 'abc' I want it without ''.
any suggestion ? |
|
Back to top |
|
 |
Vitor |
Posted: Thu Mar 29, 2012 5:16 am Post subject: Re: Trace Node |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
sarika.rawat wrote: |
and the value coming in trace file is 'abc' I want it without ''. |
Why? The trace is only for you to read while you're debugging the flow.
If you're using it for anything else (audit logging, writing an output text file, etc) don't. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Thu Mar 29, 2012 5:18 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
In an upstream Compute node, you could store the value you want to see in the Environment.Variables.<your name here> block and then write that block out in the Trace node. Alternately, you could create a custom message and write it out using File Output node. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
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
|
|
|
|