-
Nov 26th, 2010, 08:43 PM
#1
writing multiple messages to a file file:outbound-channel-adapter
I am planning to write failed messages to a file.
However, the file:outbound-channel-adapter implementation saves each messages to a new file. Instead, i would like to have multiple messages per file.
I would also like to read a file with several messages and then process it as it is my next logical step.
I see that Spring integration doesn't provide a hook for a custom implementation here for end user.
Today, i am able to use file name generator and apply a simple logic to create new files for every 'xxx' messages, but i couldn't find a way to append new messages to the same file.
I looked at the code in FileWritingMessageHandler.handleStringMessage
and thought its a simple fix to add this feature.
I would appreciate your thoughts on this.
--sri
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules