spring-integration icon indicating copy to clipboard operation
spring-integration copied to clipboard

Extend FileExistsMode with RENAME mode [INT-4475]

Open spring-operator opened this issue 7 years ago • 1 comments

Martins M opened INT-4475 and commented

Currently classes that make use of org.springframework.integration.file.support.FileExistsMode does not have an option to rename the new file if one already exists. The simplest renaming implementation could just add to a filename a suffix consisting of a current timestamp in millis.

Yes, this functionality can be achieved in other ways (e.g. via advice) however having inbuilt RENAME mode would make it more concise and readable.

Obviously all the handler classes would have to be updated to handle the new mode.

Is there a specific reason why this haven't been implemented (e.g. considered not needed)?

 


No further details from INT-4475

spring-operator avatar May 27 '18 14:05 spring-operator