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

XPath will lock File input in case of an exception during xpath evaluation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.2
    • 2.8.3, 2.9.0
    • camel-core
    • None
    • Unknown

    Description

      We have a similar issue with XPath, as we had with XSLT and XQuery.

      If the message is a java.io.File and an exception occurs during evaluation, then that file is locked on Windows platforms.
      We need to close the FileInputStream to unlock the file, and allow Windows to access the file.

      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: