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.

Reply via email to