On Tue, Jul 7, 2009 at 10:10 AM, Charles Moulliard<[email protected]> wrote:
> Hi,
>
> If for any reason, the message (= file) consumed from a File endpoint cannot
> be processed (e.g transaction not committed from a bean), than the lock on
> the file is not removed even if I stop the bundle and Apache Karaf must be
> restarted to remove/delete the lock
When it cannot be processed it is supposed to rollback in Camel as
well, so it can release locks.

What is the situation when it cannot be processed? Is it hanging forever?
Maybe you can dig out a log.

And the locked file is it the .camelLock file? I assume its that one.
We could avoid using java io locks on these then you should be able to
delete them with no problem.



>
> Regards,
>
> Charles Moulliard
> Senior Enterprise Architect
> Apache Camel Committer
>
> *****************************
> blog : http://cmoulliard.blogspot.com
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to