Set jaxb encoding with spring
-----------------------------
Key: CAMEL-1500
URL: https://issues.apache.org/activemq/browse/CAMEL-1500
Project: Apache Camel
Issue Type: Task
Components: camel-spring
Environment: - eclipse v3.3.2
Reporter: Tobias Emmerich
Fix For: 2.0.0
I can set the encoding in Jaxb with the marshaller:
jaxb.getMarshaller().setProperty(Marshaller.JAXB_ENCODING, "iso-8859-15");
But the problem is i don“t know how to set this in spring.
The source in spring till now is like this:
<route>
<from uri="x"/>
<marshal>
<jaxb id="myJaxb" prettyPrint="true" contextPath="acknowledgement"/>
</marshal>
<to ref="y">
</route>
I think we need somthing like:
<jaxb id="myJaxb" prettyPrint="true" contextPath="acknowledgement"
encoding="iso-8859-15"/>
Thanks for help
Tobias
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.