camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick696 <>
Subject Help w/ rest response JSON binding with Jackson
Date Mon, 23 May 2016 14:38:09 GMT
I am having a heck of a time figuring out how to return raw json from my
camel rest routes.

If I do something like:
I always get something like:

If I don't add  .convertBodyTo(String.class), I get the binary inputstream
from my response POJO. 
I just want plain old JSON as a response. 

Any ideas what I am missing here?


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message