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.
>


-- 
Claus Ibsen
-----------------
@davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to