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
java apache-camel


source to share


No one has answered this question yet

Check out similar questions:

fourteen
Why do I see many sockets in CLOSE_WAIT state when webservice stops working?
ten
PoolingHttpClientConnectionManager does not release connections
7
Implementing custom websphere MQ with CoD on top of Camel JMS component
4
Failed to configure "Keep Alive" in HTTP Camel component
2
Connections are in CLOSE_WAIT even after the Camel context / route is closed successfully
1
Camel Keyle SSH Option
0
connect to https server with apache camel
0
Hold sftp connection open inside camel and route component
0
Camel ssh multiple sessions not closing after execution
-1
Apache Camel HTTPS4 Basic Authentication



All Articles
Loading...
X
Show
Funny
Dev
Pics