You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Guy Pardon <gu...@atomikos.com> on 2007/06/08 13:22:54 UTC

Handler threads

Hi,

Do JAXWS handler threads run in the same thread as the endpoint below  
them? This is not required by the spec, but necessary for mapping WS- 
AT to JTA.

Thanks,
Guy

Re: Handler threads

Posted by Daniel Kulp <dk...@apache.org>.
On Friday 08 June 2007 07:22, Guy Pardon wrote:
> Do JAXWS handler threads run in the same thread as the endpoint below
> them? This is not required by the spec, but necessary for mapping WS-
> AT to JTA.

In the "normal" case, yes.   The entire interceptor chain which includes 
the handlers and the final invokation to the endpoint run on a single 
thread.

However, an interceptor could "pause" the chain and have it resume on a 
different thread.   That would be a highly specialized case though 
rooted more in theory.  I'm not 100% sure it even works right now, 
especially for HTTP, maybe for JMS.

-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog

Re: Handler threads

Posted by Brice Ruth <bd...@gmail.com>.
I would be interested in knowing this as well.

-Brice

On 6/8/07, Guy Pardon <gu...@atomikos.com> wrote:
>
> Hi,
>
> Do JAXWS handler threads run in the same thread as the endpoint below
> them? This is not required by the spec, but necessary for mapping WS-
> AT to JTA.
>
> Thanks,
> Guy
>



-- 
Brice Ruth, FCD
Software Engineer, Madison WI