I just wanted to correct the seemly wrong documentation on the wiki and
saw that the wiki includes the xml config from the jaxb tests. So I
would guess that it should work with <dataFormats> if this test is
active. Any idea why it did not work for me?
Greetings
Christian
Christian Schneider schrieb:
Hi,
I think I have found an error in the Jaxb documentation in the Wiki.
I tried the following config and it did not work:
<camelContext id="camel"
xmlns="http://camel.apache.org/schema/spring"> <dataFormats> <jaxb
id="myJaxb" prettyPrint="true" contextPath="org.apache.camel.example"/>
</dataFormats>
Instead te following worked:
<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
<jaxb id="myJaxb" prettyPrint="true"
contextPath="org.apache.camel.example"/>
Should I correct the wiki or did I do something wrong?
Greetings
Christian
http://camel.apache.org/jaxb.html