On Sun, Jan 3, 2010 at 4:15 PM, yaog <yairo...@gmail.com> wrote:
>
> Hi,
>
> I fond a solution under:
>
> http://old.nabble.com/Routing-to-a-method-of-an-object-with-more-than-one-parameters-td15806637.html
>
> But I do not understand it.
>
> Does it mandate using a proxy? Can someone post a working spring example?
>

No a proxy is not needed.

Check out the bean binding documentation at
http://camel.apache.org/bean-binding.html

And if you have multiple parameters you can add annotations to bind to
those as well
http://camel.apache.org/parameter-binding-annotations.html

Binding parameters to a bean is done in Java code so its not really
special for Spring vs. non Spring examples.


And there is a complete chapter 4 in this book which talks about using
beans with Camel
http://www.manning.com/ibsen/



> Thanks.
> --
> View this message in context: 
> http://old.nabble.com/Routing-to-a-method-of-an-object-with-more-than-one-parameters---part2-tp27002285p27002285.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to