Re: Issue with rest-dsl and improper marshalling

2016-02-10 Thread Matt Sicker
I found the skipBindingOnErrorCode(false) option in restConfiguration. This solved the first problem at least. On 9 February 2016 at 13:45, Matt Sicker wrote: > I'm using the rest-dsl in Camel 2.16.2. On each rest route, I use > consumes("application/json") and produces("application/json"). I am

Issue with rest-dsl and improper marshalling

2016-02-09 Thread Matt Sicker
I'm using the rest-dsl in Camel 2.16.2. On each rest route, I use consumes("application/json") and produces("application/json"). I am using RestBindingMode.json. However, I have gotten some strange HTTP responses when I use a non-2xx status code. For instance, I have an error message POJO that corr