Hi

You can enable TRACE logging at this package
org.apache.camel.component.file.strategy
Where it should log about what its doing when acquiring that file lock.


Or in addition for this package which is more general about the file component
org.apache.camel.component.file


On Tue, May 4, 2010 at 8:47 AM, lpiccoli <[email protected]> wrote:
>
> hi all,
>
> i am using the file2 as a consumer on a linux os.
>
> occasionally i get crazy error while trying to read a file. it reads a 0
> length file.
> The file is written to the directory from another process.
>
> i am using readLock=fileLock
>
> are there some simple debug techniques to determine  the problem?
>
> thanks
> -lp
> --
> View this message in context: 
> http://old.nabble.com/file-locking-issues-debug-tp28443668p28443668.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to