camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From namador <nicolas.ama...@athelia.com>
Subject JacksonDataFormat disable JAXB annotations
Date Tue, 23 Sep 2014 09:37:00 GMT
Hello,

I'm trying to upgrade my solution to the last version of Camel (2.14.0).
By default, JacksonDataFormat uses JAXB annotations and I'm not interested
in this behavior. 
Is there a way to disable it?

I have attributes like this:

@XmlAttribute(name = "has-children", required = true)
private Boolean hasChildren;

In previous version (2.9.7):
XML: "has-children"
Json: "hasChildren"

In the new one (2.14.0):
XML: "has-children"
Json: "has-children"

Thanks in advance.



--
View this message in context: http://camel.465427.n5.nabble.com/JacksonDataFormat-disable-JAXB-annotations-tp5756891.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message