Hi Read about bean binding at http://camel.apache.org/bean-binding.html
And if you have a copy of Camel in Action book then read chapter 4, especially section 4.4 On Tue, Dec 30, 2014 at 2:59 AM, Felix Huang <felix.hu...@beyondsoft.com> wrote: > Hi All, > > I got a "AmbiguousMethodCallException" exception when I used Apache Camel to > invoke Spring bean. > I found the root cause is that a class exists 2 methods which are the same > name. If I changed one's name of them, application is running OK. > > Below are my configuration and a class: > > <http://camel.465427.n5.nabble.com/file/n5761121/2014-12-30_9-51-15.png> > <http://camel.465427.n5.nabble.com/file/n5761121/2014-12-30_9-50-29.png> > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Exception-org-apache-camel-component-bean-AmbiguousMethodCallException-tp5761121.html > Sent from the Camel Development mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/