If the from(XXX) is not from a servlet, you need to find out what is in the 
message body, and try to convert the message body into a PayPalRequest.
But it could be easy to you client just send a Form which has the enough 
information to build a PayPalRequest.


--  
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 Saturday, July 13, 2013 at 11:07 PM, Jothi wrote:

> If the request is from a Http request as shown by you in your code above,
> then I know that I can get the values to stuff into the PayPalRequest object
> from the HttpRequest. I will then write a converter that takes in the
> HttpServletRequest as the parameter and convert that to the PayPalRequest
> object. But what if the from(XXX) is something other than a servlet.
>  
> Regards,
> Joe
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-PayPal-Component-tp5728062p5735601.html
> Sent from the Camel Development mailing list archive at Nabble.com 
> (http://Nabble.com).



Reply via email to