I use:
<simple>${body} is org.my.SpecificClass</simple>
-----Original Message-----
From: swwyatt [mailto:[email protected]]
Sent: Thursday, March 01, 2012 2:15 PM
To: [email protected]
Subject: Exchange body type
Is there a way to determine the type of object in the exchange body
using spring dsl?
I tried,
<simple>${body.class.simpleName} == 'MyClass'</simple>
but got an exception.
--
View this message in context:
http://camel.465427.n5.nabble.com/Exchange-body-type-tp5529385p5529385.h
tml
Sent from the Camel - Users mailing list archive at Nabble.com.