Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-5235

Make sure to close file input stream when converting file to string to avoid locking file on windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9.2
    • 2.9.3, 2.10.0
    • camel-core
    • None
    • Unknown

    Description

      See nabble
      http://camel.465427.n5.nabble.com/File-Processor-Not-deleting-the-files-tp5670301.html

      Need to explicit close the file input/output streams to avoid the files to be locked on windows.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: