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. 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. >