On Mon, Dec 12, 2011 at 5:53 PM, Craig McDaniel <cpmcdan...@gmail.com> wrote: > I guess I should clarify that I'm getting an AmbiguousMethodCallException, > not that the bean binding can't see the method. >
We can use help on the Scala DSL. Maybe we could add a method so you can invoke a bean from the Scala predicates. However can you just do as in Java DSL when().method("myBean") instead? > -- > View this message in context: > http://camel.465427.n5.nabble.com/Scala-DSL-Calling-Spring-beans-as-predicates-tp5068888p5068910.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/