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

Claus Ibsen resolved CAMEL-925.
-------------------------------

    Resolution: Fixed

> file component - should throw exception if can not delete or renamed consumed 
> file
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-925
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-925
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 1.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>
> Currently it logs at WARN level that camel could not rename/delete the 
> consumer file after processing.
> However as end-users might not notice this "could be bigger problem" we 
> should throw an IOException instead.
> PS: The File API is terrible as it returns a boolean of this operation (will 
> be fixed in NIO2 with a much better API).
> The bigger problem is that if you don't want to consume the file twice you 
> should get a "exception" to track down the problem. WARN logs can be harder 
> to track down.

-- 
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