Hi
On 27/12/12 10:19, Willem jiang wrote:
Hi Raul

The cxfrs component only hit the final resource. As camel don't know what to do 
sub resource.
You can find the code in the performInvocation method of the CxfRsInvoker.

One thing I can confirm is that as soon as CXF-level JAX-RS invoker has got the control, it will proceed from there and will manage all the invocation chain, starting from invoking the root resource method and continuing if needed on re-invoking subresource methods - ensuring no context is lost

Cheers, Sergey


--
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) 
(English)
           http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem





On Thursday, December 27, 2012 at 6:08 PM, Raul Kripalani wrote:

Hi all,

I have a quick question about the CXF-RS consumers. How are Subresources
and Resource Locators handled?

Does the CXF Binding get invoked each time per Subresource? Or only when
the final resource is hit? If the latter happens, we may have lost a lot of
context, as we never got the chance to process the params, methods, etc.
along the path, only the last ones.

I imagine this question could belong in the CXF forum. After all, I guess
it boils down to: when does CXF invoke the Custom Invoker? But maybe
someone can help...

Regards,

*Raúl Kripalani*
Apache Camel Committer
Enterprise Architect, Program Manager, Open Source Integration specialist
http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani
http://blog.raulkr.net | twitter: @raulvk<http://twitter.com/raulvk>

Reply via email to