Yeah There should be a <camel:method> to call a method on a bean.
On Thu, Dec 31, 2009 at 8:32 AM, SoaMattH <matt...@netpacket.com.au> wrote: > > > I am just looking at > http://camel.apache.org/content-based-router.html > so seems like my initial thoughts were close. > > --Matt > > > > SoaMattH wrote: >> >> >> I am using camel 2.0. >> I want to call a bean as part of my xml route configuration and >> then evaluate where to go with somthing like: >> >> .... >> <camel:to uri="bean:recieverA?method=processA" /> >> <camel:choice> >> <camel:when> >> <camel:el></camel:el> >> <camel:to ref="EndPointA"/> >> </camel:when> >> <camel:when> >> <camel:el></camel:el> >> <camel:toref="EndPointB"/> >> </camel:when> >> </camel:choice> >> ..... >> >> are there any examples of how this is done ? >> >> --Matt >> >> >> >> > > > ----- > /* ---------------------- > ** Matt Hannay > ** Unix Java C > ** Software Engineer > ** ------------------- */ > -- > View this message in context: > http://old.nabble.com/Not-sure-of-syntax-or-if-its-possible-or-an-example-tp26975789p26976141.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