This is an automated email from the ASF dual-hosted git repository.
exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new 14b73d54d2 NIFI-14505 Fixed migrate Connection Attempt Count Property
in JettyWebSocketClient (#9908)
14b73d54d2 is described below
commit 14b73d54d28538da470b92a4387b64a30178aeb9
Author: Pierre Villard <[email protected]>
AuthorDate: Wed Apr 30 20:58:31 2025 +0200
NIFI-14505 Fixed migrate Connection Attempt Count Property in
JettyWebSocketClient (#9908)
Signed-off-by: David Handermann <[email protected]>
---
.../java/org/apache/nifi/websocket/jetty/JettyWebSocketClient.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/nifi-extension-bundles/nifi-websocket-bundle/nifi-websocket-services-jetty/src/main/java/org/apache/nifi/websocket/jetty/JettyWebSocketClient.java
b/nifi-extension-bundles/nifi-websocket-bundle/nifi-websocket-services-jetty/src/main/java/org/apache/nifi/websocket/jetty/JettyWebSocketClient.java
index 80e26a6555..76da5375c3 100644
---
a/nifi-extension-bundles/nifi-websocket-bundle/nifi-websocket-services-jetty/src/main/java/org/apache/nifi/websocket/jetty/JettyWebSocketClient.java
+++
b/nifi-extension-bundles/nifi-websocket-bundle/nifi-websocket-services-jetty/src/main/java/org/apache/nifi/websocket/jetty/JettyWebSocketClient.java
@@ -49,6 +49,7 @@ import
org.eclipse.jetty.websocket.client.ClientUpgradeRequest;
import org.eclipse.jetty.websocket.client.WebSocketClient;
import javax.net.ssl.SSLContext;
+
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
@@ -220,7 +221,7 @@ public class JettyWebSocketClient extends
AbstractJettyWebSocketService implemen
propertyConfiguration.renameProperty("websocket-uri",
WS_URI.getName());
propertyConfiguration.renameProperty("ssl-context-service",
SSL_CONTEXT_SERVICE.getName());
propertyConfiguration.renameProperty("connection-timeout",
CONNECTION_TIMEOUT.getName());
- propertyConfiguration.renameProperty("connection-attempt-count",
CONNECTION_ATTEMPT_COUNT.getName());
+ propertyConfiguration.renameProperty("connection-attempt-timeout",
CONNECTION_ATTEMPT_COUNT.getName());
propertyConfiguration.renameProperty("session-maintenance-interval",
SESSION_MAINTENANCE_INTERVAL.getName());
propertyConfiguration.renameProperty("user-name", USER_NAME.getName());
propertyConfiguration.renameProperty("user-password",
USER_PASSWORD.getName());