Hi

Thanks for trying. I logged a ticket to support this in next release
https://issues.apache.org/jira/browse/CAMEL-8155

On Mon, Dec 15, 2014 at 8:01 PM, restful camel <bin...@gmail.com> wrote:
> This is when the Json request comes in to the webservice. I am deliberately
> sending in a malformed Json object, just so that I can handle it - our
> service will be called by various applications, and I want to be able to
> send a response back to the caller with the message that the Json is
> malformed.
>
> I tried setting the bridgeErrorHandler property, but it does not help. See
> below for the configuration in Spring:
>
>                 <restConfiguration bindingMode="auto" component="restlet" 
> port="8085">
>                         <consumerProperty key="bridgeErrorHandler" 
> value="true"/>
>                 </restConfiguration>
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/REST-DSL-Exception-Handling-tp5760600p5760714.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to