[
https://issues.apache.org/jira/browse/CAMEL-9292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-9292.
--------------------------------
Resolution: Invalid
Please use the user mailing list or user forum to get help first.
> ZipIterator sometimes return null when using with split
> -------------------------------------------------------
>
> Key: CAMEL-9292
> URL: https://issues.apache.org/jira/browse/CAMEL-9292
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.16.0
> Reporter: Howard Nguyen
> Labels: split, zipfile
>
> ZipIterator sometimes return null when using with split
> // My route
> {code}
> from("file:///tmp")
> .unmarshall(zipFileDataFormat)
> .split(body())
> .to("mock:result")
> {code}
> Sometimes, I receive null body in the unit test i.e. I have zip file with 2
> entries. I would sometimes receive 3 exchanges. The third exchange has null
> body. I also tested with zipfile with single entries. The result is similar.
> Workaround, I use filter on body.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)