Hi,
I am trying to perhaps set up an asynchronous client. I was wondering, when
running the asynchronous implementation, is the client still running
synchronous requests in separate background threads? Or does the server
actually receive the requests and run them all asynchronously?
Also, I have tried changing the asynchronous settings, but the changes seem to
do nothing:
JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
factory.setServiceClass(serviceClass);
factory.setAddress(serviceUrl);
projectApi = factory.create();
((BindingProvider)projectApi).getRequestContext().put("org.apache.cxf.transport.http.async.MAX_CONNECTIONS",
1); // Does nothing
The above has the same result as changing nothing at all. I can’t seem to
change the configuration of the asynchronous client. Is what I am doing right?
If not, how would I go about fixing it?
Joel