camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CAMEL-925) file component - should throw exception if can not delete or renamed consumed file
Date Sun, 21 Sep 2008 11:04:53 GMT

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


Mime
View raw message