Posted: Tue Mar 18, 2008 7:07 am Post subject: Staging Directory in JText Adapter
Newbie
Joined: 18 Mar 2008 Posts: 1
We have a requirement in JText Adapter where we are sending a large number of messages to the JText Adapter. These messages have to be appended in a file in the staging directory.
After recieving a file end flag, the adapter should move the file to the out folder, where another application picks it up.
Now, I am aware that we can append messages to an existing file using the FIleOutputMode as 'a'. Also, if we set StagingDir parameter in MO, we can process the file in the staging directory.
My question is:
1. How can we combine the above two requirements? Keep appending to a file and move it from staging to out folder after recieving the last message.
OR
2. Keep appending messages to a file in the out folder and change the extension of the file after receiving the last msg.
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