ConfigurationContext#getThreadPool().

Andreas

On 5 oct. 08, at 15:58, Deepal jayasinghe wrote:


Hi All,
I'm working on an Axis2 Observer. Currently the process inside the
'serviceUpdate' call back run synchronously by holding the main
thread. I want to make that process asynchronous by implementing a
thread model and handover the process to a worker thread.
Is there an inbuilt thread model in Axis2 that I can take threads from
a thread pool and release it back ?
Yes , Axis2 uses inbuilt threading model, as I remember correct it is
called "Axis2Worker" or something and the thread pool is stored in the
configuration context. If I have a chance to dig into the code I will
send you the exact pointer else , you may have to have a look at in the
code.

Btw , what you have found is very good thing .I never thought about that.

-Deepal
Regards
Asanka A.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Thank you!


http://blogs.deepal.org


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to