Camel http component does not close connections - Close_Wait
Camel http component not closing connections properly?
Under the route, I noticed that connections are being created on the server but not completed. After a while, this causes a problem.
java.io.IOException: Too many open files
Route:
from("seda:testSeda?concurrentConsumers=20")
.setHeader("Connection", constant("Close"))
.to("http://testServer/testFile.xml?authMethod=Basic&throwExceptionOnFailure=false&authUsername=user&authPassword=password")
.to("file://abc")
.end();
the connections are in Close_Wait to indicate any ideas?
I am using camel-http lib in version 2.14
+3
source to share
No one has answered this question yet
Check out similar questions: