You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/07/14 09:03:51 UTC
[jira] Created: (CAMEL-2944) StreamCache - File spooled stream
cache does not work well on Windows due not closing file resource
StreamCache - File spooled stream cache does not work well on Windows due not closing file resource
---------------------------------------------------------------------------------------------------
Key: CAMEL-2944
URL: https://issues.apache.org/activemq/browse/CAMEL-2944
Project: Apache Camel
Issue Type: Bug
Components: camel-core
Affects Versions: 2.3.0, 2.4.0
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 2.5.0
Windows is pesky about deleting files which may have an open stream hanging. While other OS is capable of that.
SplitterStreamCacheTest fails on windows due this issue.
The logic in CachedOutputStream should better leverage the Synchronization to be able to close the streams at the end.
Also various DOM converters will automatic closes input streams when converting to DOM. The only reliable mechanism is Camels synchronization which is invoked when the Exchange is done. And thus the time where we can cleanup.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CAMEL-2944) StreamCache - File spooled stream
cache does not work well on Windows due not closing file resource
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-2944.
--------------------------------
Resolution: Fixed
trunk: 963966
> StreamCache - File spooled stream cache does not work well on Windows due not closing file resource
> ---------------------------------------------------------------------------------------------------
>
> Key: CAMEL-2944
> URL: https://issues.apache.org/activemq/browse/CAMEL-2944
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.3.0, 2.4.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.5.0
>
>
> Windows is pesky about deleting files which may have an open stream hanging. While other OS is capable of that.
> SplitterStreamCacheTest fails on windows due this issue.
> The logic in CachedOutputStream should better leverage the Synchronization to be able to close the streams at the end.
> Also various DOM converters will automatic closes input streams when converting to DOM. The only reliable mechanism is Camels synchronization which is invoked when the Exchange is done. And thus the time where we can cleanup.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.