Hi Ben,

You are right, the serviceClass is just used to build up the JAXRS service module. And Camel CXF RS Consumer doesn't all serviceClass instance at the end, it just route the request to the camel route.

On 5/25/11 11:31 PM, boday wrote:
Sergey, I've wondered this myself.  The serviceClass appears to just be used
to configure the endpoint based on class/method level annotations...nothing
more.  I'll look into it...or perhaps one of the more CXF savvy users can
comment of this...


Sergey_Zhemzhitsky wrote:

I'm wondering why we have to specify the serviceClass attribute and why
this attribute should point at the real class. I'm asking because the
response of such a service will always be "Hello World!!!" and
implementation of MyService.add method does not matter in that case.

Best Regards,
Sergey Zhemzhitsky



-----
Ben O'Day
IT Consultant -http://benoday.blogspot.com

--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-CXF-RS-Consumer-Why-serviceClass-is-required-tp4424498p4425664.html
Sent from the Camel - Users mailing list archive at Nabble.com.


--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang

Connect at CamelOne May 24-26
The Open Source Integration Conference
http://camelone.com

Reply via email to