cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin" <>
Subject Re: Jetty Continuations in CXF
Date Wed, 12 Nov 2008 12:59:04 GMT
>> Question : how will SMX CXF Binding Component interact with (Jetty) continuations
when dealing with CXF-originated invocations ? 
>> The Continuation wrappers will be available through an internal CXF input Message
and through JAXWS WebServiceContext (or JAXRS 
>> one later on) - will CXF BC be able to get hold of such wrappers  ? If yes then I
guess we have no problems at all ?
> Yes, I think so, get continuation from cxf message (org.apache.cxf.message.Message) is
fine for CxfBcConsumer.


I've just copied the relevant code only to sandbox as I didn't manage to create a branch :

Some comments. You can see in :

1. The wrapper interfaces for ContinuationSupport and Continuation in

2. How PhaseInterceptorChain deals with suspended exceptions in

3. How AbstractInvoker deals with suspended exceptions in

4. How ChainInitiatorObserver deals with resuming an invocation chain in

5. Jetty-specific continuation wrappers in

6. How JettyDestination deals with continuations :

7. System tests :

See the server code on how the test code interacts with continuations through wrappers :

and how it does so directly


on how a jetty engine on a specific port can be told to ignore continuations which are supported
by default if true is set or that 
attribute is omitted (not used in the test though)

Ok - you can now see it it so shoot :-) Comments are welcome


View raw message