cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: Troubles with ContinuationProvider
Date Tue, 18 Oct 2011 14:18:52 GMT
Hi

On 18/10/11 08:09, Mateusz Herych wrote:
> Hello,
>
> I'm trying to use Continuation API in my CXF based restful webservice.
> Every time I want to access ContinuationProvider - I receive null:
>
> ContinuationProvider provider =
> (ContinuationProvider)context.get(ContinuationProvider.class.getName());
> Continuation c = provider.getContinuation();
>
> (second line causes of course NPE).
> I'm using servlet-3.0 api and application is deployed on Tomcat7.
>
> Any ideas what can cause problem?

That should work, did you get that working ? Hoping yes given that I see 
some confirmation on #IRC. However I'm concerned about the continuation 
being lost after resume() - please provide more info,
should really work as well

Sergey

>
> Thanks,
> Mateusz.


Mime
View raw message