axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Stowell <>
Subject How to use application-defined thread pool
Date Sat, 14 Apr 2012 15:51:31 GMT
Hi All,

I'm currently using Axis2C with wsdl-generated stubs. At the moment I
create a single stub/environment, then use that to make
multiple synchronous requests one after another, while I recreate the ADB
objects for each request but I reuse the stub. This seems to work fine (is
it ok to reuse the same stub?)

However to make the app more responsive, I'd like to have one or more
threads spawned to send the syncrounous requests. If I create multiple
stubs/environments, can I reuse each one in it's own thread to perform the
calls, or is there a better way to do this? Thanks!

View raw message