-
Notifications
You must be signed in to change notification settings - Fork 626
Closed
Description
In traditional WebSphere Application Server (tWAS), the com.ibm.websphere.webservices.http.maxConnection property limits client outbound connections. Apache CXF provides equivalent functionality through the following properties:
org.apache.cxf.transport.http.async.MAX_CONNECTIONS- Maximum total connections across all hostsorg.apache.cxf.transport.http.async.MAX_PER_HOST_CONNECTIONS- Maximum connections per individual host
or asynchronous connections, the org.apache.cxf.transport.http.async.usePolicy property is not required because CXF defaults to ASYNC mode. Simply configure the connection limits in your jvm.options file:
-Dorg.apache.cxf.transport.http.async.MAX_CONNECTIONS=<Number of connections>
-Dorg.apache.cxf.transport.http.async.MAX_PER_HOST_CONNECTIONS=<Number of connections>For synchronous connections, you must explicitly set the usePolicy property to ALWAYS in addition to the connection limits:
-Dorg.apache.cxf.transport.http.async.usePolicy=ALWAYS
-Dorg.apache.cxf.transport.http.async.MAX_CONNECTIONS=<Number of connections>
-Dorg.apache.cxf.transport.http.async.MAX_PER_HOST_CONNECTIONS=<Number of connections>Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels