[ https://issues.apache.org/jira/browse/CAMEL-14748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17063206#comment-17063206 ]
Dmitry Volodin commented on CAMEL-14748: ---------------------------------------- Oh, [~omarsmak] looks like corrupted zip file is any non-zip file, for example text, data, etc. > Unmarshal ZIP w/ error handling in Camel 3.x > -------------------------------------------- > > Key: CAMEL-14748 > URL: https://issues.apache.org/jira/browse/CAMEL-14748 > Project: Camel > Issue Type: Bug > Components: came-core > Affects Versions: 3.0.1 > Reporter: Gerald Kallas > Priority: Major > > I've following route > > > {code:java} > <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"> > <camelContext xmlns="http://camel.apache.org/schema/blueprint"> > <route> > <from uri="file:/var/files/in?include=.*\.zip" /> > <unmarshal> > <zipfile /> > </unmarshal> > <log message="body: ${in.body}" /> > <to uri="file:/var/files/out" /> > </route> > </camelContext> > </blueprint>{code} > > When I'm sending a corrupted ZIP file to this route I'd expect a Camel > runtime error. This won't happen, I'm only getting an empty body. -- This message was sent by Atlassian Jira (v8.3.4#803005)