You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2025/02/18 06:35:51 UTC

(camel) branch camel-4.10.x updated: CAMEL-21739: camel-ftp - Add filename to implementation of GenericFileConsumer.getRelativeFilePath for (S)FTP

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-4.10.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-4.10.x by this push:
     new 9e21bf7109f CAMEL-21739: camel-ftp - Add filename to implementation of GenericFileConsumer.getRelativeFilePath for (S)FTP
9e21bf7109f is described below

commit 9e21bf7109fbbdfb5d10fae54aa9c6fac849b33c
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Feb 18 07:34:53 2025 +0100

    CAMEL-21739: camel-ftp - Add filename to implementation of GenericFileConsumer.getRelativeFilePath for (S)FTP
---
 .../file/remote/sftp/integration/SftpSimpleConsumeWithAntIncludeIT.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeWithAntIncludeIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeWithAntIncludeIT.java
index 98615210dd4..e730badca7f 100644
--- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeWithAntIncludeIT.java
+++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeWithAntIncludeIT.java
@@ -34,7 +34,7 @@ public class SftpSimpleConsumeWithAntIncludeIT extends SftpServerTestSupport {
 
         MockEndpoint mock = getMockEndpoint("mock:result");
         mock.expectedMessageCount(1);
-        mock.expectedHeaderReceived(Exchange.FILE_NAME, "hello.txt");
+        mock.expectedHeaderReceived(Exchange.FILE_NAME, "subdir/hello.txt");
         mock.expectedBodiesReceived(expected);
 
         context.getRouteController().startRoute("foo");