Hi Willem, Thanks a lot for the explanation.
Best Regards, Sergey Zhemzhitsky Information Technology Division Troika Dialog, 4, Romanov lane, Moscow 125009, Russia Phone. +7 495 2580500 ext. 1246 -----Original Message----- From: Willem Jiang [mailto:[email protected]] Sent: Monday, May 30, 2011 6:55 AM To: [email protected] Subject: Re: Camel CXF RS Consumer. Why serviceClass is required? On 5/26/11 4:24 PM, Zhemzhitsky Sergey wrote: > Is it possible to instantiate a jdk proxy based on the interface of the > service? If so, the code would be cleaner because there will no dummy service > implementations? > As the Resource Classes could be more complicated. Such as the CustomerServices has the reference of Customer and Product, We can't just create a proxy and never return the instances of Customer or Product in camel-cxfrs. > > Best Regards, > Sergey Zhemzhitsky > > -- 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 _______________________________________________________ The information contained in this message may be privileged and conf idential and protected from disclosure. If you are not the original intended recipient, you are hereby notified that any review, retransmission, dissemination, or other use of, or taking of any action in reliance upon, this information is prohibited. If you have received this communication in error, please notify the sender immediately by replying to this message and delete it from your computer. Thank you for your cooperation. Troika Dialog, Russia. If you need assistance please contact our Contact Center (+7495) 258 0500 or go to www.troika.ru/eng/Contacts/system.wbp
