[ 
https://issues.apache.org/jira/browse/CAMEL-8399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-8399:
-------------------------------
    Fix Version/s: 2.15.0
                   2.14.2

> 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
>             Fix For: 2.14.2, 2.15.0
>
>
> 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) {
>                     xs.setMode(getModeFromString(getMode()));
>                 }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to