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 » TraceNode -> File

Post new topic  Reply to topic
 TraceNode -> File « View previous topic :: View next topic » 
Author Message
Blomman
PostPosted: Wed Jan 24, 2007 8:19 am    Post subject: TraceNode -> File Reply with quote

Master

Joined: 31 Oct 2006
Posts: 230

Hi all!

I have tracenods in many of my flows.
And im putting som info from MQRFH2 into log files, u can specify /path/path/filename in properties of the tracenode and a pattern aswell.

However is there som issues here that i should consider?
I have a script who rotates the files and zippes them etc..

1. The file is created by "MQ" itself but can i copy the file and remove it?
So "MQ" can create it again as soon somethings goes through the tracenode.
Can i create the file myself? Will "MQ" write in that file(Yes after i changed the rights for the file etc) or has it somkind of handle so it just can use a file it has created itself?

2. It dont seem to write for every message that pass in to the file it writes only sometimes.

/Blomman
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jan 24, 2007 8:38 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Trace nodes should generally be taken out of production flows, as they impose performance hits even if not in use and bring about associated issues with managing files if writing to files.

You can't move or delete a file that a trace node has written to at least once since the message flow started.

You can copy all the contents to another location and reset the contents of the file to blank.

A trace node should always write to the file when it is invoked in a flow. It may not always have valid clean data to write, though, in which case it might *look* like it didn't write to it. It depends on the pattern.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Blomman
PostPosted: Wed Jan 24, 2007 8:55 am    Post subject: Reply with quote

Master

Joined: 31 Oct 2006
Posts: 230

jefflowrey wrote:

You can copy all the contents to another location and reset the contents of the file to blank.
.

Can i copy the file?

jefflowrey wrote:

A trace node should always write to the file when it is invoked in a flow. It may not always have valid clean data to write, though, in which case it might *look* like it didn't write to it. It depends on the pattern.


But if my pattern is to get info from a header that every message has that pass the flow, sholdnt it write into the file every time a message pass?


/Blomman
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jan 24, 2007 9:32 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Blomman wrote:
jefflowrey wrote:

You can copy all the contents to another location and reset the contents of the file to blank.
.

Can i copy the file?


Yes. on Unix you could do something like "cp myTracefile /mnt/archive/myTraceFile.<datestamp>; > myTracefile".

Blomman wrote:
jefflowrey wrote:

A trace node should always write to the file when it is invoked in a flow. It may not always have valid clean data to write, though, in which case it might *look* like it didn't write to it. It depends on the pattern.


But if my pattern is to get info from a header that every message has that pass the flow, sholdnt it write into the file every time a message pass?

It should, assuming the header exists in every messages that passes the node.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Blomman
PostPosted: Thu Jan 25, 2007 12:20 am    Post subject: Reply with quote

Master

Joined: 31 Oct 2006
Posts: 230

Where u set pattern etc there is an option "Message number" what function does it have?

/Blomman
Back to top
View user's profile Send private message
Tibor
PostPosted: Thu Jan 25, 2007 3:17 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

You can find details here. This property is working in correlation with Message Catalog.
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 » TraceNode -> File
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.