Hi,
Yes, you can use HTTPClientPolicy to tune SSL connections as well.
Additionally you can apply TLSClientParameters to conduit to configure SSL
specific properties:
TLSClientParameters tslClientParameters = new TLSClientParameters();
tslClientParameters.setSecureSocketProtocol("SSL");
httpConduit.setTlsClientParameters(tslClientParameters);
Regards,
Andrei.
> -----Original Message-----
> From: Giriraj Bhojak [mailto:[email protected]]
> Sent: Mittwoch, 30. Juli 2014 19:40
> To: [email protected]
> Subject: Re: Configuring jaxws clients for performance
>
> 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 <[email protected]>
> 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-pl
> > atform.html
> >
> > Regards,
> > Andrei.
> >
> > > -----Original Message-----
> > > From: Giriraj Bhojak [mailto:[email protected]]
> > > Sent: Montag, 28. Juli 2014 18:41
> > > To: [email protected]
> > > 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.
> >