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. Too many open files



    .setHeader("Connection", constant("Close"))


the connections are in Close_Wait to indicate any ideas?

I am using camel-http lib in version 2.14


source to share

All Articles