Skip to content

Support fileExistModeExpression() in Ftp.outboundGateway #9987

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ts-cop-02 opened this issue Apr 23, 2025 · 1 comment
Closed

Support fileExistModeExpression() in Ftp.outboundGateway #9987

ts-cop-02 opened this issue Apr 23, 2025 · 1 comment
Labels
status: invalid Not reproducable or not relevant to the current state of the project

Comments

@ts-cop-02
Copy link

Expected Behavior
The Ftp.outboundGateway should support a fileExistModeExpression() method that accepts a SpEL expression to dynamically determine the FileExistsMode at runtime. This would allow users to conditionally choose between REPLACE, APPEND, FAIL, or other file exist modes based on message content or context variables.

Current Behavior
Currently, the Ftp.outboundGateway only supports fileExistMode() which accepts a static FileExistsMode value. This mode is fixed at configuration time and cannot be changed dynamically during message processing.

Context
I'd be willing to implement this feature if the team agrees it would be valuable to the Spring Integration community.

@ts-cop-02 ts-cop-02 added status: waiting-for-triage The issue need to be evaluated and its future decided type: enhancement labels Apr 23, 2025
@artembilan artembilan added status: invalid Not reproducable or not relevant to the current state of the project and removed type: enhancement status: waiting-for-triage The issue need to be evaluated and its future decided labels Apr 23, 2025
@artembilan
Copy link
Member

Duplicate of: #9988

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: invalid Not reproducable or not relevant to the current state of the project
Projects
None yet
Development

No branches or pull requests

2 participants