HTTP Connection pooling in Apache CXF -
i trying check whether apache cxf implements http connection pooling
? if yes, how can configure same. if not, how can achieve same?
this thread little direction towards same. it's not clear whether httpconduit
has way set same or configure.
can guide me on this?
apache cxf uses httpurlconnection internally , relies on java system properties configure client connection settings.
two main ones can configure follows:
http.keepalive (default: true) - indicates if persistent connections should supported. improve performance allowing underlying socket connection reused multiple http requests. if set true persistent connections requested http 1.1 servers.
http.maxconnections (default: 5) - if http keepalive enabled (see above) value determines maximum number of idle connections simultaneously kept alive, per destination.
here list of properties can set configure httpurlconnection
hope helps.
Comments
Post a Comment