Provide Custom message on Camel Validation <p>I am trying to provide a custom message upon validation failure as oppose to the sending the stack trace to the user. It seems I am not understanding how to do this. My route is as follows:</p> <pre><code> &lt;route&gt; &lt;from uri="restlet:/foo"/&gt; &lt;onException&gt; &lt;exception&gt;org.apache.camel.ValidationException&lt;/exception&gt; &lt;transform&gt; &lt;simple&gt;Validate your stuff&lt;/simple&gt; &lt;/transform&gt; &lt;stop/&gt; &lt;/onException&gt; &lt;validate&gt;&lt;constant&gt;false&lt;/constant&gt;&lt;/validate&gt; &lt;to uri="mock:result"/&gt; &lt;/route&gt; </code></pre> <p>I tried to place the onException before or after the validation. Neither works. What I want to return to the user is 'Validate your stuff' as opposed to the complete stack trace. </p> <p>Any clue?</p>