On Tue, Apr 19, 2011 at 5:55 PM, Gert Villemos <gville...@yahoo.de> wrote: > Indeed, as you say and as its documented rather nicely on the wiki, the 'is' > operator works fine; > > <simple>${body} is org.hbird.exchange.type.Parameter'</simple> > > Just out of curiosity; why doesn't 'getClass.getName' work? What are the > limitations in allowed return types of a method? >
AFAIR the methods from java.lang.Object is omitted by Camel. > -- > View this message in context: > http://camel.465427.n5.nabble.com/Routing-based-on-exchange-IN-message-body-clas-tp4313282p4313626.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com CamelOne 2011: http://fusesource.com/camelone2011/ Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/