-
Type:
Improvement
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.16.2
-
Component/s: camel-core
-
Labels:None
-
Estimated Complexity:Unknown
When splitting and using an iterator the usually hasNext -> next is paired so if hasNext returns true, then next returns data. But there can be situations where this is tricky to determine up front, and therefore a hasNext may return true, and then next() return null if there was no data really. Then the splitter should just skip that null and continue.
- is related to
-
CAMEL-9735 camel-tarfile throws OutOfMemoryError when splitting large files
-
- Resolved
-
- relates to
-
CAMEL-9375 camel-tarfile - TarSplitter includes one extra empty entry at the end
-
- Resolved
-