You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Roland Knight (JIRA)" <ji...@apache.org> on 2010/05/20 04:34:12 UTC

[jira] Updated: (CAMEL-2741) GZIP/ZIP marshal/unmarshal leaves input file open

     [ https://issues.apache.org/activemq/browse/CAMEL-2741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roland Knight updated CAMEL-2741:
---------------------------------

    Attachment: zipfix.patch

> GZIP/ZIP marshal/unmarshal leaves input file open
> -------------------------------------------------
>
>                 Key: CAMEL-2741
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2741
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.3.0
>            Reporter: Roland Knight
>            Priority: Minor
>         Attachments: zipfix.patch
>
>
> Gzip/zip marshal/unmarshal leaves input files open, relying on the garbage collector to close the file. The cause sporadic file deletion exceptions in the following route:
>           from("file:incoming?delete=true")
>             .marshal().gzip()
>             .to("file:outgoing?fileName=${file:name}.gz");

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.