Hello,

I get file with uri :
ftp://directory?include=.*HPR&doneFileName=${file:name.noext}.OK&delete=true

Once I get the file, I read another one in a bean :
from(url)
...
.bean(classEnrich, "enrich")
...

In enrich, I read the third file named using (uri is modified to designate
the file) :

ConsumerTemplate consumer = this.camelContext.createConsumerTemplate();         
       
Exchange resource = consumer.receive(uri, 5000);
if(null != resource){
   --  Get the file content
   consumer.doneUoW(resource);
}
consumer.stop();       

As I read the file (they are get and treated  and suppressed without
problem), I observe that ftpConsumer are accumulated in threadpools and are
not freed. Threads are still waiting.



--
View this message in context: 
http://camel.465427.n5.nabble.com/ftpConsumer-still-remain-in-threadpools-tp5730976.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to