I have a bunch of web services servers (around 200) running on the same
machine which expose the same service on different ports. I have a client
which perform tasks which include calling the service on different servers.
Something like:
while (true) {
task = readTask();
runHelloService(task.serverAddress)
}
I was wondering what is the best way to generate the HelloService client
proxy.
Can I generate one and replace the target address before each call?
Should i generate a client per server (which means 200 client proxies) and
use the relevant one?
I will probably want to run the above loop concurrently on several threads.
Currently I have only one proxy which is generated by spring and cxf with
the jaxws:client declaration.
--
View this message in context:
http://cxf.547215.n5.nabble.com/Reuse-jax-ws-client-proxies-for-different-addresses-tp5736463.html
Sent from the cxf-user mailing list archive at Nabble.com.