You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/10/17 10:44:00 UTC
[jira] [Updated] (CAMEL-20000) camel-flatpack DataSetList iterator iterates only once
[ https://issues.apache.org/jira/browse/CAMEL-20000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-20000:
--------------------------------
Priority: Minor (was: Critical)
> camel-flatpack DataSetList iterator iterates only once
> ------------------------------------------------------
>
> Key: CAMEL-20000
> URL: https://issues.apache.org/jira/browse/CAMEL-20000
> Project: Camel
> Issue Type: Bug
> Components: camel-flatpack
> Affects Versions: 4.1.0
> Reporter: Zeljko Tesic
> Priority: Minor
> Attachments: FlatpackDataSetListIteratorTest.java
>
>
> GIVEN comma delimited set of records
> AND unmarshal using flatpack data format
> AND process the resulting DataSetList once
> AND split the DataSetLISt
> THEN split finds no records
>
> In earlier versions iterator() method of DataSetList was calling dataSet.goTop() to reset iterator position. That line is gone in 4.1.0. As a quick fix we should consider bringing it back back. However, we might do some redesign of DataSet iterators to make it more thread safe in some future release.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)