Gareth Western created CAMEL-8399:
-------------------------------------
Summary: Support setMode in JsonDataFormat
Key: CAMEL-8399
URL: https://issues.apache.org/jira/browse/CAMEL-8399
Project: Camel
Issue Type: Improvement
Components: camel-xstream
Affects Versions: 2.14.1
Reporter: Gareth Western
Priority: Minor
CAMEL-7592 introduced the ability to customise the XStream mode, however
org.apache.camel.dataformat.xstream.JsonDataFormat#createXStream still sets the
mode explicitly to NO_REFERENCES.
I think someone just has to update the method to do the following instead:
{code}
if (getMode() != null) {
xstream.setMode(getModeFromString(getMode()));
}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)