Hi Joe,

I just want to show you the typical route of camel.
First you need to accept the request of WebClient, you can use Servlet or Camel 
component which provide the Http services to do this job.
Then you need to convert the request object to paypal request and use 
camel-paypal producer to send the request.  

The camel route could be
from("xxx").convertTo(PaypalRequest.class).to("paypal:service");

If you are using the Servlet, you need to create the camel context when init 
the servlet, and you can use the ProducerTemplate to redirect web application 
request to camel route.

If you are using the camel-jetty or camel-servlet component to serve the web 
application request, you just need to care about how convert the web 
application request to the paypal one.  

--  
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 Friday, July 12, 2013 at 1:53 PM, Jothi wrote:

> Willem,
>  
> I did not quite get you! Could you please be a little bit elaborate? Thanks
> for your support!
>  
> Regards,
> Joe
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-PayPal-Component-tp5728062p5735561.html
> Sent from the Camel Development mailing list archive at Nabble.com 
> (http://Nabble.com).



Reply via email to