Hi, I am trying to run this route:
<route id="RestToTopic"> <from uri="jetty:http://0.0.0.0:8162/meucci/assembly" /> <doTry> <to uri="xslt:XSLT.xml" /> <to uri="validator:XSD.xsd" /> <inOnly uri="activemq:topic:Topic" /> <setBody><constant></constant></setBody> <!-- Return empty body when OK --> <doCatch> <exception>org.apache.camel.ValidationException</exception> <handled><constant>false</constant></handled> <!-- TODO: Return exception message on ValidationException --> </doCatch> </doTry> </route> but I would like to get the validation exception message as the result body. Is this possible? Regards, Leen