axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amila Suriarachchi <>
Subject Re: Creating a async web sercice
Date Thu, 17 Sep 2009 06:11:05 GMT
2009/9/16 Håkon Sagehaug <>

> Hi
> I wanted to try out to make a web service async, does anyone know of a
> cookbook how to do that? I found this link[1] explaning how I want my
> service to work. is it the AsyncMessageReceiver  from the integration module
> in axis2 svn I should use? Basically I need som help and guide how to enable
> async behavior on the server side, I know how to do it on the client side,
> for getting a non-blocking using two transport channels.
> any tips or hint on this topic?

you need to set this parameter messageReceiver.invokeOnSeparateThread to
true in your service.

ie. <parameter

if the request contains a replyTo header service invocation happens in a
separate thread.


> cheers, Håkon
> [1]
> --
> Håkon Sagehaug, Scientific Programmer
> Parallab, Bergen Center for Computational Science (BCCS)
> UNIFOB AS (University of Bergen Research Company)

Amila Suriarachchi
WSO2 Inc.

View raw message