Its because the getClass() method doesnt return a String but a Class<?> object, i.e. creating an inheritance hierarchy and using accessor methods returning String from base classes works fine.
Is there any way around this limitation? Do I need to tell 'Simple' what type is returned from getClass? -- View this message in context: http://camel.465427.n5.nabble.com/Routing-based-on-exchange-IN-message-body-clas-tp4313282p4313604.html Sent from the Camel - Users mailing list archive at Nabble.com.