Re: Removing entries from FileIdempotentRepository don't get persisted

2010-04-27 Thread shirazi
Thanks Claus, I just created a minor bug-report (https://issues.apache.org/activemq/browse/CAMEL-2678). I'll have a look on extending the FileIdempotentRepository and make a "flush" on remove. Bests, Farhad S. Claus Ibsen-2 wrote: > > On Tue, Apr 27, 2010 at 10:29 AM, shirazi wrote: >> >> Th

Re: Removing entries from FileIdempotentRepository don't get persisted

2010-04-27 Thread Claus Ibsen
On Tue, Apr 27, 2010 at 10:29 AM, shirazi wrote: > > Thanks Claus, > Acutally there are some scenarios in which one may need to rerun a file > through a workflow and it makes neccessary to remove the file from the > idempotent repository. My specific problem is that upon a server restart, > the fi

Re: Removing entries from FileIdempotentRepository don't get persisted

2010-04-27 Thread shirazi
Thanks Claus, Acutally there are some scenarios in which one may need to rerun a file through a workflow and it makes neccessary to remove the file from the idempotent repository. My specific problem is that upon a server restart, the file is not picked up by the workflow because my remove was not

Re: Removing entries from FileIdempotentRepository don't get persisted

2010-04-27 Thread Claus Ibsen
Hi On Tue, Apr 27, 2010 at 9:39 AM, shirazi wrote: > > Hi, > It seems that removing an entry (file name) programatically from a file > idempotent repository has only effect on the cache and does not get > persisted on the file repository. > Do I need to do more beside calling "remove" on the repo

Removing entries from FileIdempotentRepository don't get persisted

2010-04-27 Thread shirazi
Hi, It seems that removing an entry (file name) programatically from a file idempotent repository has only effect on the cache and does not get persisted on the file repository. Do I need to do more beside calling "remove" on the repository object to get it persisted? Or is this a bug? Bests, -F