Everything is configured in this way by camel spring DSL
camelContext
<restConfiguration bindingMode="auto" component="servlet" enableCORS="true"
>
<dataFormatProperty key="prettyPrint" value="true"/>
<apiProperty key="cors" value="true" />
<corsHeaders key="Access-Control-Allow-Headers"
value="Origin, Accept,
X-Requested-With, Content-Type, Access-Control-Request-Method,
Access-Control-Request-Headers, Authorization" />
</restConfiguration>
</restConfiguration>
Simple REST DSL
<post uri="/user" produces="application/json">
....
</post>
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-2-17-x-null-values-are-gone-tp5783253p5783260.html
Sent from the Camel - Users mailing list archive at Nabble.com.