dev@jax-ws.java.net

[Fwd: Re: Fiber suspend and resume behavior]

From: Marek Potociar <Marek.Potociar_at_Sun.COM>
Date: Wed, 23 Jan 2008 11:24:03 +0100

Hello Jitu,
could you please have a look at this?
Thanks,
Marek

-------- Original Message --------
Subject: Re: Fiber suspend and resume behavior
Date: Tue, 22 Jan 2008 15:58:43 +0100
From: Marek Potociar <Marek.Potociar_at_Sun.COM>
Reply-To: dev_at_metro.dev.java.net
To: dev_at_jax-ws.dev.java.net
CC: dev_at_metro.dev.java.net
References: <4796022B.6030101_at_sun.com>



Btw., could this 1-line patch possibly solve the problem?

Marek

Marek Potociar wrote:
> Hello,
> I wonder if the existing implemented logic of suspending and resuming
> a fiber is correct. Intuitively, I would expect that a fiber suspended
> during a request processing would, after resuming, continue with a
> call to next.processRequest(...)[1], which is not the currently
> implement behavior (right now the resumed fiber ignores next tube and
> immediately calls processResponse() on the last tube in the stack -
> the one that suspended the fiber). IOW, currently the request
> processing cannot be really suspended as resume is available only for
> response processing.
>
> I would like to ask if you could change the existing implementation to
> allow the "natural" suspend behavior. Shall I file a RFE?
>
> Thank you,
> Marek
>
> [1] I have a use case where I would like to use this suspend behavior.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jax-ws.dev.java.net
> For additional commands, e-mail: dev-help_at_jax-ws.dev.java.net
>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_metro.dev.java.net
For additional commands, e-mail: dev-help_at_metro.dev.java.net