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.

Reply via email to