Thank you once again Andrei.
I am using https protocol in jaxws client.
Can I use HTTPClientPolicy to configure https connection parameters?

Regards,
Giriraj.


On Wed, Jul 30, 2014 at 5:44 AM, Andrei Shakirin <ashaki...@talend.com>
wrote:

> Hi,
>
> I assume that you use http protocol in jaxws client.
> CXF HTTPClientConduit  implementation is based on java.net
> HttpURLConnection (HttpsUrlConnection).
> I would recommend to start with default settings and then experiment with
> parameters in HTTPClientPolicy or/and JVM options http.keepAlive,
> http.maxConnections:
>         ...
>         HTTPClientPolicy policy = new HTTPClientPolicy();
>         policy.setReceiveTimeout(100);
>         policy.setConnection(ConnectionType.KEEP_ALIVE);
>         (BindingProvider) proxy).put(HTTPClientPolicy.class.getName(),
> policy);
>         ...
>
> Btw there are some performance numbers and settings in my blog:
> http://ashakirin.blogspot.de/2012/09/cxf-performance-on-sun-solaris-platform.html
>
> Regards,
> Andrei.
>
> > -----Original Message-----
> > From: Giriraj Bhojak [mailto:girira...@gmail.com]
> > Sent: Montag, 28. Juli 2014 18:41
> > To: users@cxf.apache.org
> > Subject: Configuring jaxws clients for performance
> >
> > Hello,
> >
> > Could anyone recommend settings/properties (for e.g., number of client
> > connections/connection pool) that would impact the performance of clients
> > configured for calling an endpoint? I need to ensure that if large
> number of
> > endpoints invocation happen for a given "jaxws:client", there are no
> > performance bottlenecks.
> >
> > Thanks,
> > Giriraj.
>

Reply via email to