camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-1849) CachedOutputStream not cleaning up tmp files when using file based caching
Date Fri, 24 Jul 2009 01:05:33 GMT

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

Willem Jiang commented on CAMEL-1849:
-------------------------------------

Here is a thing, if you close the input stream of the HttpProducer, you will not get a readable
InputStream from the message body of the exchange which will be processed after the HttpProducer.

Please remember to call the close of the InputStream , If you want to make sure the temp file
to be deleted.

> CachedOutputStream not cleaning up tmp files when using file based caching
> --------------------------------------------------------------------------
>
>                 Key: CAMEL-1849
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1849
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core, camel-http
>    Affects Versions: 1.6.1
>         Environment: Camel 1.x branch. 2.0 branch also appears to have the same problem
>            Reporter: Dave Stanley
>            Assignee: Hadrian Zbarcea
>             Fix For: 1.6.2
>
>         Attachments: camel_1.x_patch.txt
>
>
> A recent feature of Camel's CachedOutputStream is to serialize any messages over 64k
to disk. In some cases the *tmp message files are not being cleaned up. 

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


Mime
View raw message