Croway commented on code in PR #1943:
URL:
https://github.com/apache/camel-spring-boot/pull/1943#discussion_r3949747493
##########
components-starter/camel-zipfile-starter/src/test/java/org/apache/camel/dataformat/zipfile/springboot/ZipFileDataFormatTest.java:
##########
@@ -354,8 +354,7 @@ public void configure() {
@Override
public void process(Exchange exchange) throws
Exception {
ZipFile zfile = new ZipFile(new
File("src/test/resources/hello.odt"));
- ZipEntry entry = new ZipEntry(
- (String)
exchange.getIn().getHeader(Exchange.FILE_NAME));
+ ZipEntry entry = new ZipEntry((String)
exchange.getIn().getHeader("zipFileName"));
Review Comment:
just wondering if zipFileName is correct, where does It come from? if it
comes from camel shouldn't it be CamelZipFileName or something similar?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]