On Tue, Jul 7, 2009 at 10:10 AM, Charles Moulliard<cmoulli...@gmail.com> 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 I guess the JVM holds the java file locks.
You can use readLock=rename or readLock=none to avoid using java file locks. > > 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