camel-users mailing list archives

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

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:
Sent from the Camel - Users mailing list archive at

View raw message