Gourav Dey
Gourav Dey

Reputation: 31

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

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

Answers (1)

Claus Ibsen
Claus Ibsen

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

Related Questions