It’s dependence on do you want to hold the reference of client invocation proxy 
and how do you prepare the request for invocation.
The processor way provides you a way to integrate the web service invocation 
code within camel route, you need to take care of everything yourself.
You don’t need create the web service proxy yourself if you use the cxf 
endpoint .


-- 
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
          http://jnn.iteye.com (Chinese)
Twitter: willemjiang 
Weibo: 姜宁willem


On December 7, 2013 at 11:42:41 AM, trilochan237 
(kartheektrilochan...@gmail.com) wrote:
>
>Hi,
>
>Can someone tell me which is the best approach for calling an external
>webservice?
>After going through the examples from camel website i got to know that a
>call can be made from the processor and also by creating a CXFEndpoint.
>
>
>
>--
>View this message in context: 
>http://camel.465427.n5.nabble.com/CXF-EndPoint-Vs-Processor-tp5744417.html
>Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to