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.

Reply via email to