Details
-
Type:
New Feature
-
Status: Closed
-
Priority:
Major
-
Resolution: Complete
-
Affects Version/s: 2.2 M2
-
Fix Version/s: 2.2 M3 Sprint 2, 2.2 M3
-
Component/s: Adapters
-
Labels:None
Description
I am writing an application that handles messages coming in thru a webservice. For auditing all incoming messages have to be saved to disk. Because a potential large amount of messages will be handled, and they should be easily found back later, I would like to be able to save my messages into different directories based on the date.
Currently I can set a filename per message. In addition to that I would like to be able to set a directory relative to the base-directory specified in the outbound-channel-adapter. If this directory doesn't exist, it should be created.
To remain backwards compatible I image the filename header can contain a String - use the current behaviour - or a File - use the proposed behaviour.
In addition, the FilenameGenerator should be enhanced to be able to return a full (relative) path.
Attachments
Issue Links
- is depended on by
-
INT-2621 FileOutboundChannelAdapterIntegrationTests does not pass on Windows
-
- Closed
-
-
INT-2618 File Adapter - Document directory-expression attribute in Reference Manual
-
- Closed
-
- is related to
-
INT-2769 Reference Doc: Document attributes 'filename-generator', 'filename-generator-expression' and 'directory-expression'
-
- Closed
-