I am struggling to wrap my head around how to create a Gson ExclusionStrategy
that depends on a value in the Message object from the Exchange (this is
stored in a Header).
I am registering restConfiguration().setJsonDataFormat("json-gson") in my
route definition (so Google Gson is being used for marshalling).
How do I now go about for registering the Exclusion strategies in the route
for the GsonDataFormat type used by Camel?
--
View this message in context:
http://camel.465427.n5.nabble.com/REST-marshal-gson-with-custom-Exclustion-Strategy-tp5757941.html
Sent from the Camel - Users mailing list archive at Nabble.com.