The problem is that I'm consuming through sftp.

My problem is that I see that the thread count is increasing with the
template and the dynamic routing solution.

As the unused endpoint after it consumed the file not free up. I've
experienced this with the consumer template as well.

Is there a way to reuse sftp endpoint, which on incoming filenames using the
same connection or at least the same endpoint downloads the same file.

Or assign the endpoint to the same threadpool would be also nice.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Thread-leak-when-create-pollEnrich-tp5723554p5723602.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to