> What would be the object type after the from? It's the component developer (in this case you) who decide how the expected format looks like. It could be a map with dedicated key's, ... It's common (but not mandatory) to use the Camel type converter mechanism for this. Is the current code available in the public to have a look?
Best, Christian ----------------- Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache Camel: https://www.apache.org/foundation/ Apache Member: https://www.apache.org/foundation/members.html https://www.linkedin.com/pub/christian-mueller/11/551/642 On Sat, Jun 29, 2013 at 6:20 PM, Jothi <codeintheo...@gmail.com> wrote: > I'm back working on this ticket. I understand that I have to write a > converter to arrive at the PayPalRequest object. But what would be the > format of the incoming object? > > For example., in the following route, > > from( > http://mywebsite.paypal.com/pay).to(paypal://adaptivepayments?operation=pay > ) > > What would be the object type after the from? I guess I need to pass that > object type as a parameter to my converter method to create the > PayPalPayRequest object before it can be passed to the paypal component. > The > attached screenshot shows the fields for a pay request. > > < > http://camel.465427.n5.nabble.com/file/n5735002/Screen_Shot_2013-06-29_at_6.15.55_PM.png > > > > < > http://camel.465427.n5.nabble.com/file/n5735002/Screen_Shot_2013-06-29_at_6.17.41_PM.png > > > > Help appreciated! > > Regards, > Joe > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-PayPal-Component-tp5728062p5735002.html > Sent from the Camel Development mailing list archive at Nabble.com. >