Why can't we unmarshal data into beans using univocity parser in apache camel?

157 Views Asked by At

Univocity parser supports reading data into bean when it is written in plain java - https://www.univocity.com/pages/univocity_parsers_tutorial#using-annotations-to-map-your-java-beans

But when univocity is used with camel, it only unmarshals the data into a list or a map - https://camel.apache.org/components/latest/dataformats/univocity-csv-dataformat.html#_unmarshalling_usages

Why is reading into beans supported in univocity but it is not supported when it is used with camel?

1

There are 1 best solutions below

2
Claus Ibsen On

Univocity has a ton of features and support for bean mapping has not been implemented in its Camel component. You are welcome to create a JIRA and contributions is welcome to add such feature.