Croway commented on code in PR #1943:
URL: 
https://github.com/apache/camel-spring-boot/pull/1943#discussion_r3950201902


##########
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:
   right, it is even part of the 4.22 upgrade guide `from `zipFileName` for zip 
instead of `CamelFileName`.` I still wonder if this is 100% correct though, 
I'll investigate. But the PR is ok



-- 
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]

Reply via email to