Camel Bean IO use Java annotation instead of Xml Mapping

Viewed 14

We are creating an output file which has different format per line, and this group of lines will repeat. Bean Io provides excellent support for the same with "groups" and "records"

We are using Camel for the same and BeanIo dataformater in Camel is looking for a mapping XML.Bean IO Mapping file

https://camel.apache.org/components/3.16.x/dataformats/beanio-dataformat.html

Stand alone versions of the BeanIO provide annotation to create the "Groups" and "Records". Is there a way to use the annotation in Camel as well rather than a mapping file

0 Answers
Related