You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/12/20 12:30:51 UTC
(camel) 01/01: Upgrade Jsch to version 0.2.15
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch jsch-0.2.15
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 2b7ac4d85da43ebeb224624ca1fd25dc4d93b4d2
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Dec 20 13:30:29 2023 +0100
Upgrade Jsch to version 0.2.15
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../apache/camel/component/file/remote/FtpSoTimeoutTest.java | 12 ++++++------
parent/pom.xml | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpSoTimeoutTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpSoTimeoutTest.java
index 9aa8fa9318b..deb7b4d0b38 100644
--- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpSoTimeoutTest.java
+++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpSoTimeoutTest.java
@@ -16,6 +16,9 @@
*/
package org.apache.camel.component.file.remote;
+import java.net.ServerSocket;
+import java.util.concurrent.TimeUnit;
+
import org.apache.camel.BindToRegistry;
import org.apache.camel.CamelExecutionException;
import org.apache.camel.RoutesBuilder;
@@ -28,9 +31,6 @@ import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.Timeout;
-import java.net.ServerSocket;
-import java.util.concurrent.TimeUnit;
-
import static org.junit.jupiter.api.Assertions.assertThrows;
/**
@@ -78,15 +78,15 @@ public class FtpSoTimeoutTest extends CamelTestSupport {
public void configure() {
from("direct:with").to("ftp://localhost:" + serverSocket.getLocalPort()
- + "?ftpClient=#myftpclient&connectTimeout=300&soTimeout=300&reconnectDelay=100");
+ + "?ftpClient=#myftpclient&connectTimeout=300&soTimeout=300&reconnectDelay=100");
from("direct:without").to("ftp://localhost:" + serverSocket.getLocalPort()
- + "?connectTimeout=300&soTimeout=300&reconnectDelay=100");
+ + "?connectTimeout=300&soTimeout=300&reconnectDelay=100");
// using soTimeout=0 could potentially cause the ftp producer to dead-lock doing endless reconnection attempts
// this is a test to ensure we have fixed that; see CAMEL-8088
from("direct:soTimeoutZero").to("ftp://localhost:" + serverSocket.getLocalPort()
- + "?connectTimeout=300&soTimeout=0")
+ + "?connectTimeout=300&soTimeout=0")
.to("mock:done")
.errorHandler(deadLetterChannel("mock:dead"));
}
diff --git a/parent/pom.xml b/parent/pom.xml
index 670815ef43e..b6cd62eb182 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -277,7 +277,7 @@
<johnzon-version>2.0.0</johnzon-version>
<jslt-version>0.1.14</jslt-version>
<jsmpp-version>3.0.0</jsmpp-version>
- <jsch-version>0.2.13</jsch-version>
+ <jsch-version>0.2.15</jsch-version>
<javax-json-api-version>1.1.4</javax-json-api-version>
<jsonassert-version>1.5.1</jsonassert-version>
<json-path-version>2.8.0</json-path-version>