Hi Sven
On 16/02/12 09:35, Viehmeier, Sven wrote:
Hi,

I had a look at continuations in CXF and I think I could use them as well in my 
CXF DOSGi application. Does anybody know if continuations are also supported by 
the distributed OSGi part of CXF and, if so, can give me a short hint on how to 
use them?


Here is the test code example:
http://svn.apache.org/repos/asf/cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/http_jetty/continuations/HelloImplWithWrapppedContinuation.java

Some users reported the issues on Tomcat 7 I believe, but with Jetty 7.x which is what CXF DOSGI is based upon at the moment it should work quite reliably.

Cheers, Sergey


Cheers,
Sven

-----Original Message-----
From: Freeman Fang [mailto:[email protected]]
Sent: 16 February 2012 03:35
To: [email protected]
Subject: Re: Interrupting a Web service execution

Hi,

This requirement sounds like what CXF continuation API can offer, CXF
continuation API can let you suspend and resume server side
interceptors, both camel-cxf and servicemix-cxf use it to get async
support which won't block any underlying thread.
You can read related blogs [1]&[2] to get more details
[1]http://sberyozkin.blogspot.com/2008/12/continuations-in-cxf.html
[2]http://willemjiang.blogspot.com/2010/09/cxf-continuation-api-enhancement.html

Freeman
On 2012-2-15, at 下午6:29, arun wrote:

Dear All,

I want to interrupt a Web service execution, say a JAX-WS service
running on
Glassfish server, on a button click from JSP interface and halt its
further
execution. Could anybody elaborate me on how to achieve this? Any
suggestions in this direction would be of great help.

Thanks in advance,



Regards,
A Arun

--
View this message in context: 
http://cxf.547215.n5.nabble.com/Interrupting-a-Web-service-execution-tp5485569p5485569.html
Sent from the cxf-user mailing list archive at Nabble.com.

---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com











--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Reply via email to