Hi

Yeah read about using beans with Camel
http://camel.apache.org/bean-integration.html
http://camel.apache.org/bean-binding.html

And then use the bean component in the endpoint uri
http://camel.apache.org/bean

For example something alike
requestBody("bean:foo?method=bar(123, ${body}, true)", "Hello World");



On Wed, Mar 12, 2014 at 5:44 AM, dharshan <[email protected]> wrote:
> Using *requestBody()* method can invoke the methods in Java class passing
> some parameters .
>
>  If yes please give the example .
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/requestBody-tp5748665.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io

Reply via email to