camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Is there a way to selectively disable data binding in a rest-dsl route?
Date Fri, 19 Feb 2016 06:45:52 GMT
Set a different content-type as binary is not json then.

On Thu, Feb 18, 2016 at 9:45 PM, Matt Sicker <> wrote:
> Most of my routes return json, but I now have a new route that needs to
> return binary data. This automatically gets marshalled into json due to
> using the json binding mode. Is there a way to selectively disable this
> feature?
> I was thinking of implementing a processor that handles the marshalling of
> the response, but this won't handle the unmarshal of the request (which has
> the class name specified in the swagger model).
> --
> Matt Sicker <>

Claus Ibsen
----------------- @davsclaus
Camel in Action 2:

View raw message