Re: Camel's use of jsch/java.io

2013-10-01 Thread Bengt Rodehav
Hello Neil, I use the sftp component quite a lot. Now and then (perhaps once in a month) it stops polling. I think the problem to that lies in the Jsch itself and not in Camel. I'm not sure if it is the same problem you have though. I also took stack traces and found that Jsch was stuck in a read

Re: Camel's use of jsch/java.io

2013-10-01 Thread neil
The code that pointed out is in java.io.PipedInputStream.read(). I believe Camel's thread management is triggering an infinite loop in it, although I am not certain. Is there a graceful way to have a Camel polling route completely reset itself periodically? Or is bouncing the container a better

Re: Camel's use of jsch/java.io

2013-10-01 Thread Claus Ibsen
Hi The code is in jsch? If so you should report this to the jsch team. On Tue, Oct 1, 2013 at 6:46 AM, neil wrote: > Hi, > I would like to report a potential bug in Camel's use of jsch/java.io, and > find a potential workaround. > > Apologies in advance for abusing terms

Camel's use of jsch/java.io

2013-09-30 Thread neil
Hi, I would like to report a potential bug in Camel's use of jsch/java.io, and find a potential workaround. Apologies in advance for abusing terms -- I am only a Camel user, I am not intimately familiar with its implementation. We have an indefinite polling route that does a directory li