You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by edvicif <ed...@gmail.com> on 2012/04/25 18:19:00 UTC

Prevent done file deletion after file consumption

Hi

I like to configure the camel file consumer, that it should leave done files
alone.

We are consuming files from a shared area and if I delete the done file I
could damage other consumers behaviour.

Is there a way to tell camel not to that? noop=true seems uneffective.

The duplicate consumption I sorted out with the idempotent configuration.

--
View this message in context: http://camel.465427.n5.nabble.com/Prevent-done-file-deletion-after-file-consumption-tp5665345p5665345.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Prevent done file deletion after file consumption

Posted by edvicif <ed...@gmail.com>.
Ticket generated under:

https://issues.apache.org/jira/browse/CAMEL-5224

--
View this message in context: http://camel.465427.n5.nabble.com/Prevent-done-file-deletion-after-file-consumption-tp5665345p5667191.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Prevent done file deletion after file consumption

Posted by edvicif <ed...@gmail.com>.
Ok. I create a JIRA.

Because with noop=true I expect not even done files got deleted.



--
View this message in context: http://camel.465427.n5.nabble.com/Prevent-done-file-deletion-after-file-consumption-tp5665345p5667144.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Prevent done file deletion after file consumption

Posted by Claus Ibsen <cl...@gmail.com>.
On Wed, Apr 25, 2012 at 6:19 PM, edvicif <ed...@gmail.com> wrote:
> Hi
>
> I like to configure the camel file consumer, that it should leave done files
> alone.
>
> We are consuming files from a shared area and if I delete the done file I
> could damage other consumers behaviour.
>
> Is there a way to tell camel not to that? noop=true seems uneffective.
>

No Camel deletes the done file automatic. What about the other files,
do you leave them alone as well?

I guess when using noop=true the done file should be left as well.
Fell free to create a JIRA ticket.

> The duplicate consumption I sorted out with the idempotent configuration.
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Prevent-done-file-deletion-after-file-consumption-tp5665345p5665345.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/