Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
Case 1:
Customer wants us to drop the files with the following naming scheme: prefix-<datetime in UTC>.data. Wouldn't it be nice if we could just say:
fileName=prefix-$simple{date-with-timezone:now:UTC:yyyyMMddHHmmss}.data
in the producer URI?
Case 2:
Customer wants us to clean up files from a destination that are more than 24 hours old. With the File component's new filterFile feature we should be able to say:
filterFile=${file:modified} < ${date:now-24h}
in the consumer URI and pull them off the disk.
Attachments
Issue Links
- links to