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:32:14 UTC
[jira] Created: (CAMEL-2741) GZIP/ZIP marshal/unmarshal leaves
input file open
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
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.
[jira] Updated: (CAMEL-2741) GZIP/ZIP marshal/unmarshal leaves
input file open
Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hadrian Zbarcea updated CAMEL-2741:
-----------------------------------
Fix Version/s: 2.3.0
(was: 2.4.0)
> 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
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.3.0
>
> 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.
[jira] Assigned: (CAMEL-2741) GZIP/ZIP marshal/unmarshal leaves
input file open
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-2741:
----------------------------------
Assignee: Claus Ibsen (was: Willem Jiang)
> 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
> Assignee: Claus Ibsen
> 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.
[jira] Assigned: (CAMEL-2741) GZIP/ZIP marshal/unmarshal leaves
input file open
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang reassigned CAMEL-2741:
-----------------------------------
Assignee: Willem Jiang
> 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
> Assignee: Willem Jiang
> 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.
[jira] Resolved: (CAMEL-2741) GZIP/ZIP marshal/unmarshal leaves
input file open
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-2741.
--------------------------------
Fix Version/s: 2.4.0
Resolution: Fixed
trunk: 946891.
> 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
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.4.0
>
> 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.
[jira] Commented: (CAMEL-2741) GZIP/ZIP marshal/unmarshal leaves
input file open
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59481#action_59481 ]
Claus Ibsen commented on CAMEL-2741:
------------------------------------
There is a helper method to close the streams. I will polish the code a bit and move the close method to IOHelper where it belongs.
> 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
> Assignee: Claus Ibsen
> 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.
[jira] Updated: (CAMEL-2741) GZIP/ZIP marshal/unmarshal leaves
input file open
Posted by "Roland Knight (JIRA)" <ji...@apache.org>.
[ 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.