I created the ticket: https://issues.apache.org/jira/browse/CAMEL-5267
Best, Christian On Tue, May 8, 2012 at 8:57 AM, Claus Ibsen <claus.ib...@gmail.com> wrote: > On Mon, May 7, 2012 at 10:50 AM, Thomas Johansen <thxm...@gmail.com> > wrote: > > Thanks Yogesh, > > > > However I can't see that there is a way to do what is suggested in those > > links: > > > > marshaller.setProperty(”com.sun.xml.bind.namespacePrefixMapper”, new > > MyNamespacePrefixMapper()); > > > > as I can't reach the marshaller through Camel's JaxbDataFormat. > > > > Yeah that is not possible, fell free to create a JIRA ticket for such > an improvement. > And as we love contributions, patches is welcome. > http://camel.apache.org/contributing.html > > > > > > Cheers, > > Thomas > > > > 2012/5/4 ychawla <premiergenerat...@yahoo.com> > > > >> Hi Thomas, > >> You can use JaxB NameSpacePrefixMapper to customize what the namespaces > >> look > >> like. Basically it would take ns2 and set it to something more > intuitive > >> of > >> your choosing. See here for details: > >> > >> > >> > http://stackoverflow.com/questions/1982977/is-it-possible-to-customize-the-namespace-prefix-that-jaxb-uses-when-marshalling > >> > >> Here is another example: > >> http://blog.bdoughan.com/2011/11/jaxb-and-namespace-prefixes.html > >> > >> Thanks, > >> Yogesh > >> > >> > >> -- > >> View this message in context: > >> > http://camel.465427.n5.nabble.com/camel-jaxb-namespace-prefix-tp5685354p5686544.html > >> Sent from the Camel - Users mailing list archive at Nabble.com. > >> > > > > -- > Claus Ibsen > ----------------- > CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com > FuseSource > Email: cib...@fusesource.com > Web: http://fusesource.com > Twitter: davsclaus, fusenews > Blog: http://davsclaus.blogspot.com/ > Author of Camel in Action: http://www.manning.com/ibsen/ >