Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-2668

Improve the File Overwrite Handling for the File Outbound Channel Adapter

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.1.3
    • Fix Version/s: 2.2 M4 Sprint 3, 2.2 M4
    • Component/s: File Support
    • Labels:
      None

      Description

      We recently added support for file appends with INT-2470. In order to improve the behavior further, we will remove the "append" attribute and replace it with a new enumeration called mode, providing the following options:

      • Replace - The Default Setting
      • Append - Same functionality as INT-2470
      • Fail - Raise an exception when the file already exists (new)
      • Ignore - Silently ignore the message payload file if the destination file already exists (new)

        Issue Links

          Activity

          Show
          hillert Gunnar Hillert added a comment - Issued PR: https://github.com/SpringSource/spring-integration/pull/559
          Hide
          hillert Gunnar Hillert added a comment -

          PR Merged

          Show
          hillert Gunnar Hillert added a comment - PR Merged
          Hide
          kattamreddy77 Vikram Kattamreddy added a comment -

          it is still not working

          Show
          kattamreddy77 Vikram Kattamreddy added a comment - it is still not working
          Hide
          abilan Artem Bilan added a comment -

          Vikram Kattamreddy,

          Unfortunately, this isn't an argument.
          You should confirm the issue with some test-case.
          See this issue has been closed a long time ago already in version 2.2, where the current version is already 4.3.
          Therefore, in case of an issue, we have already enough complains and fixed them somehow.

          So, please, be sure that you use the proper version and strictly the Reference Manual.

          From here I suggest you to go to StackOverflow with your question problem.

          Any new issues should be raised as a new JIRA, if the original is closed already.
          And must be confirmed with the tests.

          Hope that is clear.

          Show
          abilan Artem Bilan added a comment - Vikram Kattamreddy , Unfortunately, this isn't an argument. You should confirm the issue with some test-case. See this issue has been closed a long time ago already in version 2.2 , where the current version is already 4.3 . Therefore, in case of an issue, we have already enough complains and fixed them somehow. So, please, be sure that you use the proper version and strictly the Reference Manual. From here I suggest you to go to StackOverflow with your question problem. Any new issues should be raised as a new JIRA, if the original is closed already. And must be confirmed with the tests. Hope that is clear.

            People

            • Assignee:
              hillert Gunnar Hillert
              Reporter:
              hillert Gunnar Hillert
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: