[ https://issues.apache.org/activemq/browse/CAMEL-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-1500. -------------------------------- Resolution: Fixed > 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-jaxb > Affects Versions: 1.6.0 > Environment: - eclipse v3.3.2 > Reporter: Tobias Emmerich > Assignee: Claus Ibsen > Fix For: 2.0.0, 1.6.1 > > > 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.