Hello good folks, I am asking for help with setting cxf-client connection limit.

I am leveraging cxf's AsyncHTTPConduitFactory to limit count of connections 
create clientside, using this configurations 
https://cxf.apache.org/docs/asynchronous-client-http-transport.html#AsynchronousClientHTTPTransport-Configuration.

This somehow worked in 3.4.0, but is working differently in 4.0.1. In 4.0.1. 
connection pool is created per each client proxy, which imo renders 
MAX_PER_HOST_CONNECTIONS and MAX_CONNECTIONS parameters useless.

Is this an intention and something I had misunderstood in cxf usage? I had 
raised an issue(https://issues.apache.org/jira/browse/CXF-9109 ) and even built 
an unittest here 
https://issues.apache.org/jira/secure/attachment/13074892/ConnectionPoolingTest.java.

Are there some other options or workarounds to limit count of connections 
created by cxf-client?

Best regards
Martin Špelina

Reply via email to