camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-4591) XPath will lock File input in case of an exception during xpath evaluation
Date Thu, 27 Oct 2011 13:14:32 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-4591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137114#comment-13137114
] 

Claus Ibsen commented on CAMEL-4591:
------------------------------------

btw workaround is to convert the body to String.class beforehand.
                
> 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

        

Mime
View raw message