Howard Nguyen created CAMEL-9292:
------------------------------------
Summary: 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
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.
Workaround, I use filter on body.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)