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.

Reply via email to