Spring Integration
  1. Spring Integration
  2. INT-2668

Improve the File Overwrite Handling for the File Outbound Channel Adapter

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor 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
          Gunnar Hillert added a comment - Issued PR: https://github.com/SpringSource/spring-integration/pull/559
          Hide
          Gunnar Hillert added a comment -

          PR Merged

          Show
          Gunnar Hillert added a comment - PR Merged

            People

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

              Dates

              • Created:
                Updated:
                Resolved: