[ https://issues.apache.org/jira/browse/CAMEL-4440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ioannis Canellos updated CAMEL-4440: ------------------------------------ Attachment: CAMEL-4440-patch.txt I am attaching a patch which solves this issue and also adds a new unit test for testing unmrashaling on a single row. > camel-csv - Make it consistent what unmarshal returns as object, so its the > same for 1 or more rows > --------------------------------------------------------------------------------------------------- > > Key: CAMEL-4440 > URL: https://issues.apache.org/jira/browse/CAMEL-4440 > Project: Camel > Issue Type: Improvement > Affects Versions: 2.8.0 > Reporter: Claus Ibsen > Priority: Minor > Fix For: 2.9.0 > > Attachments: CAMEL-4440-patch.txt > > > See nabble > http://camel.465427.n5.nabble.com/unmarshal-CsvDataFormat-different-behavior-for-one-or-multiples-lines-tp4778814p4778814.html > The camel-csv should always return the same List<List>> regardless if there > is 0, 1 or 2+ rows returned. That makes it consistent and easier for end > users who need to work with this data. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira