|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
File archival using FileOutput node |
« View previous topic :: View next topic » |
Author |
Message
|
Vakku |
Posted: Sun May 31, 2009 10:54 pm Post subject: File archival using FileOutput node |
|
|
Novice
Joined: 13 Oct 2008 Posts: 20 Location: California
|
Hi,
I'm using Message broker v 6.1.0.3 and using FileOutput node to write to the files(Not using FTP property for File node). I've the requirement to archive each and every file, irrespective of whether the file name is same or not.
I understand that, using the 'Output File Action" configurations in File nodes, I can archive only those files if it comes with the same name again.So the existing files will be archived before creating the new file.
In my case, filename will never be same as I'm appending the timestamp with filename. So how can I achieve Archival here? Any build in property available in Broker for this.
Which is the best way to achieve this? please suggest?
Regards,
Vakku. |
|
Back to top |
|
 |
zpat |
Posted: Sun May 31, 2009 11:14 pm Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Archive in WMB terms means rename the file and put it in a given directory. Since you control the name of the file and where it goes - you can do the same. |
|
Back to top |
|
 |
Vakku |
Posted: Mon Jun 01, 2009 12:27 am Post subject: |
|
|
Novice
Joined: 13 Oct 2008 Posts: 20 Location: California
|
Thanks for the reply.
Does it means, In addititon to the normal File Write operation, I've to explicitly add logic in my esql to PROPAGATE the file with the required file name to the Archival directory also? |
|
Back to top |
|
 |
zpat |
Posted: Mon Jun 01, 2009 1:20 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
What do you want to achieve by "archival"?
WMB uses it to resolve naming conflicts - you don't have these - so what does it mean to you?
If you want to create a duplicate file, you can do so. It's more usual for whatever processes the first file, to create the copy or move the original to indicate that is has been processed. |
|
Back to top |
|
 |
Vakku |
Posted: Mon Jun 01, 2009 1:26 am Post subject: |
|
|
Novice
Joined: 13 Oct 2008 Posts: 20 Location: California
|
My primary objective, is to save the files for future reference and also as a back-up.
Suppose I'm placing the files in directory /abc. After some time, some applcaition will poll for it and will consume the file. Even if something goes wrong in that application, if I've the back-up of the file, I can re-instantiate the process. I'm basically looking at this recovery process. |
|
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
|
|
|
|