This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
commit 33c63a616b0c87af29a0640654d8ae15d2436e5e Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Mon May 19 16:46:53 2025 +0200 CAMEL-22083: FTP --- .../component/file/remote/springboot/ftp/FtpEmbeddedService.java | 5 +++++ .../component/file/remote/springboot/sftp/SftpEmbeddedService.java | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/components-starter/camel-ftp-starter/src/test/java/org/apache/camel/component/file/remote/springboot/ftp/FtpEmbeddedService.java b/components-starter/camel-ftp-starter/src/test/java/org/apache/camel/component/file/remote/springboot/ftp/FtpEmbeddedService.java index 7685c428fba..9dab41e8832 100644 --- a/components-starter/camel-ftp-starter/src/test/java/org/apache/camel/component/file/remote/springboot/ftp/FtpEmbeddedService.java +++ b/components-starter/camel-ftp-starter/src/test/java/org/apache/camel/component/file/remote/springboot/ftp/FtpEmbeddedService.java @@ -192,6 +192,11 @@ public class FtpEmbeddedService extends AbstractTestService implements FtpServic return port; } + @Override + public int port() { + return port; + } + public int countConnections() { int count = 0; diff --git a/components-starter/camel-ftp-starter/src/test/java/org/apache/camel/component/file/remote/springboot/sftp/SftpEmbeddedService.java b/components-starter/camel-ftp-starter/src/test/java/org/apache/camel/component/file/remote/springboot/sftp/SftpEmbeddedService.java index ca62cd37d33..45347fbc72d 100644 --- a/components-starter/camel-ftp-starter/src/test/java/org/apache/camel/component/file/remote/springboot/sftp/SftpEmbeddedService.java +++ b/components-starter/camel-ftp-starter/src/test/java/org/apache/camel/component/file/remote/springboot/sftp/SftpEmbeddedService.java @@ -159,6 +159,11 @@ public class SftpEmbeddedService extends AbstractTestService implements FtpServi return port; } + @Override + public int port() { + return port; + } + public static boolean hasRequiredAlgorithms() { try { FileKeyPairProvider provider = new FileKeyPairProvider(Paths.get("src/test/resources/hostkey.pem"));