Reputation: 31
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?
Upvotes: 2
Views: 170
Reputation: 55750
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.
Upvotes: 1