On Mon, Mar 30, 2009 at 11:57 AM, Tobias Emmerich
<[email protected]> wrote:
>
> Hi,
>
> we use camel 1.5
Hi

I have fixed it in the next release, 1.6.1 and 2.0

In 1.5.0 you can might set the Marshaller on the JAXBComponent itself.
We did some fixes in 1.6.0 to the JAXB to cater for some concurrency
issues with JAXB itself in high loads.
So that changed the component not being able to set a custom
marshaller. You can maybe do that in the old 1.5.0 release.

You have to check yourself.
If so you should be able to define a spring bean as the data format
and use that instead of the build in JAXB.

Something like this:

<bean id="myJaxb" class="org.apache....JaxbDataFormat">
// use spring properties to set a custom marshaller where you have set
the encoding
</bean>



>
>
> --
> View this message in context: 
> http://www.nabble.com/Jaxb-Encoding-tp22738950p22779773.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to