Hi Willem, Thanks for the quick response. Is there an interceptor we can implement to capture intermediate method invocations? I found CXF-2709, which is somewhat related. Basically, I'm interested in exploring all Methods and Param Arrays along the path to the final resource.
Right now, if there was a query or path parameter along the way, it doesn't appear in the ultimate MessageContentsList. If you want we can switch this conversation to the CXF User forum. I didn't want to cross-post. 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> On Thu, Dec 27, 2012 at 10:19 AM, Willem jiang <willem.ji...@gmail.com>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. > > > -- > 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> > > > >