Re: @XmlElement overriding @JsonProperty

2013-10-01 Thread Claus Ibsen
Hi Did you look into this? Maybe there is a flag/option you can set in jackson to have it favor @JsonProperty over JAXB. If so maybe there is something we can add to camel-jackson, so you can turn this flag on/off. On Wed, Jul 17, 2013 at 11:57 PM, Craig Tataryn wrote: > I'm working on a little

@XmlElement overriding @JsonProperty

2013-07-17 Thread Craig Tataryn
I'm working on a little route for my blog feed, essentially I have a route that looks like this: from("rss:...") .marshal().rss() .split(xpath("//item")) .unmarshal(jaxb) //do stuff to my Article object .marshal().json(JsonLibrary.Jackson) My problem is, when I marshal my model object to json I d