Re: git commit: CAMEL-7858 Allow to disable Jaxb annotations in JacksonDataFormat

2014-09-25 Thread Claus Ibsen
Even so it should be possible to configure this from XML also. Unfortuntanately the json data format is generic, but should have been jackson data format etc. But we are kinda stuck on this for 2.x. There is other options already that may only apply to jackson and not xstream etc. For example json

Re: git commit: CAMEL-7858 Allow to disable Jaxb annotations in JacksonDataFormat

2014-09-24 Thread Willem Jiang
Hi Claus, I checked the module class JsonDataFormat. As it just provide common option settings for json-xstream, json-jackson and json-gson, I’m afraid I cannot add enableJaxbAnnotation option there.  -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot

Re: git commit: CAMEL-7858 Allow to disable Jaxb annotations in JacksonDataFormat

2014-09-24 Thread Claus Ibsen
Hi You need to set a new option as well in the model class, so people can configure it from xml dsl tool. On Wed, Sep 24, 2014 at 11:02 AM, wrote: > Repository: camel > Updated Branches: > refs/heads/master 46ef7cd52 -> cff3b1174 > > > CAMEL-7858 Allow to disable Jaxb annotations in JacksonDa