Camel Consumer Template - Streams Stay Alive

I have a problem very similar to http://camel.465427.n5.nabble.com/FTP-ConsumerTemplate-Threads-remaining-alive-td5548338.html .

How do you kill Camel threads at different endpoints? I tried to remove the endpoints and stop the ConsumerTemplate after installing doneUoW, but that did not work.

+6
source share
1 answer

Try adding &disconnect=true to your FTP-URI. At the same time, it will release the connection at the same time, which may lead to the creation of blocked threads.

0
source

Source: https://habr.com/ru/post/919028/


All Articles