Tuesday, 8 October 2013

DEBUGGING USING TRACE SCENARIO

1.Trace node – Destination property:
File: If we select “File” in Destination property of Trace node, the behavior of the
message flow will be recorded in a file (file name is given in “Filepath”).${Body}: It writes only the message data.
2.Trace node – Destination property:
File: If we select “File” in Destination property of Trace node, the behavior of the
message flow will be recorded in a file (file name is given in “Filepath”).
${Body.Order.CustomerDetails.FullName}: It records the data in Body.Order.CustomerDetails.FullName (In message one fields will record in to file)

3.Trace node – Destination property:
User Trace: This is also same as LocalErrorLog.If we select User Trace as destination the log files will store in “C:\Documents and Settings\All Users\ApplicationData\IBM\MQSI\common\log”.


USER TRACE COMMANDS:-


On/Off the TRACE:
mqsichangetrace BrokerName -n on/off -e default

Change the TRACE Mode:
mqsichangetrace BrokerName -u -e default -l debug/normal

Read the TRACE to some file:
mqsireadlog BrokerName  -u -e default -o outputfile.log

Format the TRACE LOG:
mqsiformatlog -i inputfile.txt -o outputfile.log

-where default is the execution group name.


4.Trace node – Destination property:
LocalErrorLog: If we select LocalErrorLog as Destination then the behavior of MessageFlow will be recorded in log files.That log files will be stores “C:\DocumentsandSettings\AllUsers\ApplicationData\IBM\MQSI\common\log”.





No comments:

Post a Comment