Thanks a lot...
Ephemeris Lappis
Le 26/12/2022 à 19:18, Claus Ibsen a écrit :
Hi
Yes correct and <unmarshal ref=...> was deprecated in 2.x to tell about
changes coming.
On Mon, Dec 26, 2022 at 4:32 PM Ephemeris Lappis <ephemeris.lap...@gmail.com>
wrote:
Hello.
We have some Camel contexts that define a JAXB DataFormat before the
routes, and then use a reference on the route.
Example :
<dataFormats>
<jaxb
id="myJAXB"
contextPath="my.test.t26.routes.xml"
encoding="UTF-8"
prettyPrint="true"
schema="classpath:xsd/my-schema.xsd" />
</dataFormats>
and then :
<unmarshal ref="myJAXB" />
Now it seems that we have to add a "custom" element to reference the
DataFormat, like :
<unmarshal><custom ref="myJAXB"></custom></unmarshal>
Please, could you confirm this change, and that this last syntax is
the best one ?
Thanks.
Regards.
--
Cet e-mail a été vérifié par le logiciel antivirus d'Avast.
www.avast.com