XPath will lock File input in case of an exception during xpath evaluation
--------------------------------------------------------------------------
Key: CAMEL-4591
URL: https://issues.apache.org/jira/browse/CAMEL-4591
Project: Camel
Issue Type: Bug
Components: camel-core
Affects Versions: 2.8.2
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 2.8.3, 2.9.0
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira