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


The following commit(s) were added to refs/heads/main by this push:
     new 45e4cbd8132 Regen
45e4cbd8132 is described below

commit 45e4cbd8132b91a819489065e0061cd8cbac3974
Author: Claus Ibsen <[email protected]>
AuthorDate: Sat Nov 28 10:33:05 2026 +0100

    Regen
---
 .../camel/springboot/catalog/components/jsonata.json  |  2 +-
 .../camel/springboot/catalog/components/ssh.json      | 16 ++++++++--------
 .../camel-ssh-starter/src/main/docs/ssh.json          | 11 ++++++-----
 .../ssh/springboot/SshComponentConfiguration.java     | 19 ++++++++++---------
 docs/spring-boot/modules/ROOT/pages/starters/ssh.adoc |  8 ++++----
 5 files changed, 29 insertions(+), 27 deletions(-)

diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jsonata.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jsonata.json
index bda3a7358cd..8e7de83eecb 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jsonata.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jsonata.json
@@ -39,7 +39,7 @@
   },
   "properties": {
     "resourceUri": { "index": 0, "kind": "path", "displayName": "Resource 
Uri", "group": "producer", "label": "", "required": true, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "supportFileReference": true, "description": "Path to the 
resource. You can prefix with: classpath, file, http, ref, or bean. classpath, 
file and http loads the resource using these protocols (classpath is default). 
ref will lookup the resource in the  [...]
-    "allowContextMapAll": { "index": 1, "kind": "parameter", "displayName": 
"Allow Context Map All", "group": "producer", "label": "", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "description": "Sets whether the 
context map should allow access to all details. By default only the message 
body and headers can be accessed. This option can be enabled for full access to 
the current Exchange and C [...]
+    "allowContextMapAll": { "index": 1, "kind": "parameter", "displayName": 
"Allow Context Map All", "group": "producer", "label": "", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": true, 
"deprecationNote": "The jsonata component builds no context map, so this option 
has no effect.", "autowired": false, "secret": false, "defaultValue": false, 
"description": "Not used by jsonata. Deprecation note: The jsonata component 
builds no context map, so this option has  [...]
     "allowTemplateFromHeader": { "index": 2, "kind": "parameter", 
"displayName": "Allow Template From Header", "group": "producer", "label": "", 
"required": false, "type": "boolean", "javaType": "boolean", "deprecated": 
false, "autowired": false, "secret": false, "defaultValue": false, 
"description": "Whether the producer takes the JSONata expression from the 
CamelJsonataResourceUri header, when the header is set, instead of from the 
resourceUri option. Enable it only when the header com [...]
     "contentCache": { "index": 3, "kind": "parameter", "displayName": "Content 
Cache", "group": "producer", "label": "", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": true, "description": "Sets whether to use resource 
content cache or not" },
     "inputType": { "index": 4, "kind": "parameter", "displayName": "Input 
Type", "group": "producer", "label": "", "required": false, "type": "enum", 
"javaType": "org.apache.camel.component.jsonata.JsonataInputOutputType", 
"enum": [ "Jackson", "JsonString" ], "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": "Jackson", "description": "How the producer 
reads the message body as the input of the expression. With Jackson, a body 
that is JSON text (its first non-white [...]
diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/ssh.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/ssh.json
index d82f3a3b361..c779580f37f 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/ssh.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/ssh.json
@@ -25,21 +25,21 @@
     "remote": true
   },
   "componentProperties": {
-    "timeout": { "index": 0, "kind": "property", "displayName": "Timeout", 
"group": "common", "label": "", "required": false, "type": "integer", 
"javaType": "long", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 30000, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The time in milliseconds that the component 
waits for each step of setting up the session: the connection, the authent [...]
+    "timeout": { "index": 0, "kind": "property", "displayName": "Timeout", 
"group": "common", "label": "", "required": false, "type": "integer", 
"javaType": "long", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 30000, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The time in milliseconds that the component 
waits for each step of setting up the session: the connection, the authent [...]
     "bridgeErrorHandler": { "index": 1, "kind": "property", "displayName": 
"Bridge Error Handler", "group": "consumer", "label": "consumer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Allows for bridging the consumer to the Camel routing Error Handler, which 
mean any exceptions (if possible) occurred while the Camel consumer is trying 
to pickup incoming messages, or the like [...]
     "pollCommand": { "index": 2, "kind": "property", "displayName": "Poll 
Command", "group": "consumer", "label": "consumer", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The command that the consumer runs on the SSH 
server at each poll. The consumer needs it, as each poll fails wi [...]
     "lazyStartProducer": { "index": 3, "kind": "property", "displayName": 
"Lazy Start Producer", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Whether the producer should be started lazy (on the first message). By 
starting lazy you can use this to allow CamelContext and routes to startup in 
situations where a producer may otherwise fail [...]
     "authTimeout": { "index": 4, "kind": "property", "displayName": "Auth 
Timeout", "group": "advanced", "label": "advanced", "required": false, "type": 
"integer", "javaType": "long", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The time in milliseconds that Apache MINA SSHD 
allows for the authentication before it closes the session. If 0 or less, i 
[...]
     "autowiredEnabled": { "index": 5, "kind": "property", "displayName": 
"Autowired Enabled", "group": "advanced", "label": "advanced", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether autowiring is enabled. This is used for automatic autowiring options 
(the option must be marked as autowired) by looking up in the registry to find 
if there is a single instance of matching t [...]
-    "channelOpenTimeout": { "index": 6, "kind": "property", "displayName": 
"Channel Open Timeout", "group": "advanced", "label": "advanced", "required": 
false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "Sets a channel open timeout of Apache MINA 
SSHD that applies only to SSH agent forwarding, which this compo [...]
-    "channelType": { "index": 7, "kind": "property", "displayName": "Channel 
Type", "group": "advanced", "label": "advanced", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": "exec", "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The type of SSH channel that runs the command: 
exec runs it as a single command, and sh [...]
+    "channelOpenTimeout": { "index": 6, "kind": "property", "displayName": 
"Channel Open Timeout", "group": "advanced", "label": "advanced", "required": 
false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The time in milliseconds that the component 
waits for the channel that runs the command to open. If 0 or le [...]
+    "channelType": { "index": 7, "kind": "property", "displayName": "Channel 
Type", "group": "advanced", "label": "advanced", "required": false, "type": 
"enum", "javaType": "java.lang.String", "enum": [ "exec", "shell" ], 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 
"exec", "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The type of SSH channel that runs the command: 
exec runs it  [...]
     "clientBuilder": { "index": 8, "kind": "property", "displayName": "Client 
Builder", "group": "advanced", "label": "advanced", "required": false, "type": 
"object", "javaType": "org.apache.sshd.client.ClientBuilder", "deprecated": 
false, "autowired": true, "secret": false, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "To use a custom 
org.apache.sshd.client.ClientBuilder to create the SSH client, for examp [...]
     "compressions": { "index": 9, "kind": "property", "displayName": 
"Compressions", "group": "advanced", "label": "advanced", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "A comma-separated list of the compression 
algorithms that the client proposes, in order of preference, for exa [...]
     "configuration": { "index": 10, "kind": "property", "displayName": 
"Configuration", "group": "advanced", "label": "advanced", "required": false, 
"type": "object", "javaType": 
"org.apache.camel.component.ssh.SshConfiguration", "deprecated": false, 
"autowired": false, "secret": false, "description": "The shared configuration 
of the endpoints: each endpoint starts from a copy of it." },
     "connectTimeout": { "index": 11, "kind": "property", "displayName": 
"Connect Timeout", "group": "advanced", "label": "advanced", "required": false, 
"type": "integer", "javaType": "long", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The time in milliseconds that the socket 
connection to the server may take. If 0 or less, the default of Apache MIN [...]
     "heartbeatInterval": { "index": 12, "kind": "property", "displayName": 
"Heartbeat Interval", "group": "advanced", "label": "advanced", "required": 
false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The interval in milliseconds at which the 
client sends keep-alive requests to the server while a command runs [...]
     "heartbeatReplyMaxWait": { "index": 13, "kind": "property", "displayName": 
"Heartbeat Reply Max Wait", "group": "advanced", "label": "advanced", 
"required": false, "type": "integer", "javaType": "int", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The number of keep-alive requests without 
reply after which the client closes the session, when hear [...]
-    "idleTimeout": { "index": 14, "kind": "property", "displayName": "Idle 
Timeout", "group": "advanced", "label": "advanced", "required": false, "type": 
"integer", "javaType": "long", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The time in milliseconds after which Apache 
MINA SSHD closes a session without traffic. The session is open while a comma 
[...]
+    "idleTimeout": { "index": 14, "kind": "property", "displayName": "Idle 
Timeout", "group": "advanced", "label": "advanced", "required": false, "type": 
"integer", "javaType": "long", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": 600000, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The time in milliseconds after which Apache 
MINA SSHD closes a session without traffic. The sessi [...]
     "shellPrompt": { "index": 15, "kind": "property", "displayName": "Shell 
Prompt", "group": "advanced", "label": "advanced", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The text that the shell prompt ends with, 
which channelType=shell needs: the endpoint fails to start without i [...]
     "sleepForShellPrompt": { "index": 16, "kind": "property", "displayName": 
"Sleep For Shell Prompt", "group": "advanced", "label": "advanced", "required": 
false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": 100, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The time in milliseconds between two reads of 
the shell output while the component [...]
     "healthCheckConsumerEnabled": { "index": 17, "kind": "property", 
"displayName": "Health Check Consumer Enabled", "group": "health", "label": 
"health", "required": false, "type": "boolean", "javaType": "boolean", 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true, 
"description": "Used for enabling or disabling all consumer based health checks 
from this component" },
@@ -72,7 +72,7 @@
   "properties": {
     "host": { "index": 0, "kind": "path", "displayName": "Host", "group": 
"common", "label": "", "required": true, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.ssh.SshConfiguration", 
"configurationField": "configuration", "description": "The host name or IP 
address of the SSH server. When the .ssh\/config file in the home directory of 
the user has an entry for this host, the c [...]
     "port": { "index": 1, "kind": "path", "displayName": "Port", "group": 
"common", "label": "", "required": false, "type": "integer", "javaType": "int", 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 22, 
"configurationClass": "org.apache.camel.component.ssh.SshConfiguration", 
"configurationField": "configuration", "description": "The port of the SSH 
server." },
-    "timeout": { "index": 2, "kind": "parameter", "displayName": "Timeout", 
"group": "common", "label": "", "required": false, "type": "integer", 
"javaType": "long", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 30000, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The time in milliseconds that the component 
waits for each step of setting up the session: the connection, the authen [...]
+    "timeout": { "index": 2, "kind": "parameter", "displayName": "Timeout", 
"group": "common", "label": "", "required": false, "type": "integer", 
"javaType": "long", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 30000, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The time in milliseconds that the component 
waits for each step of setting up the session: the connection, the authen [...]
     "pollCommand": { "index": 3, "kind": "parameter", "displayName": "Poll 
Command", "group": "consumer", "label": "consumer", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The command that the consumer runs on the SSH 
server at each poll. The consumer needs it, as each poll fails w [...]
     "sendEmptyMessageWhenIdle": { "index": 4, "kind": "parameter", 
"displayName": "Send Empty Message When Idle", "group": "consumer", "label": 
"consumer", "required": false, "type": "boolean", "javaType": "boolean", 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 
false, "description": "If the polling consumer did not poll any files, you can 
enable this option to send an empty message (no body) instead." },
     "bridgeErrorHandler": { "index": 5, "kind": "parameter", "displayName": 
"Bridge Error Handler", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Allows for bridging the consumer to the 
Camel routing Error Handler, which mean any exceptions (if possible) occurred 
while the Camel consumer is trying to pickup incoming  [...]
@@ -81,14 +81,14 @@
     "pollStrategy": { "index": 8, "kind": "parameter", "displayName": "Poll 
Strategy", "group": "consumer (advanced)", "label": "consumer,advanced", 
"required": false, "type": "object", "javaType": 
"org.apache.camel.spi.PollingConsumerPollStrategy", "deprecated": false, 
"autowired": false, "secret": false, "description": "A pluggable 
org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your 
custom implementation to control error handling usually occurred during the pol 
[...]
     "lazyStartProducer": { "index": 9, "kind": "parameter", "displayName": 
"Lazy Start Producer", "group": "producer (advanced)", "label": 
"producer,advanced", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether the producer should be started 
lazy (on the first message). By starting lazy you can use this to allow 
CamelContext and routes to startup in situations where a produc [...]
     "authTimeout": { "index": 10, "kind": "parameter", "displayName": "Auth 
Timeout", "group": "advanced", "label": "advanced", "required": false, "type": 
"integer", "javaType": "long", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The time in milliseconds that Apache MINA SSHD 
allows for the authentication before it closes the session. If 0 or less, [...]
-    "channelOpenTimeout": { "index": 11, "kind": "parameter", "displayName": 
"Channel Open Timeout", "group": "advanced", "label": "advanced", "required": 
false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "Sets a channel open timeout of Apache MINA 
SSHD that applies only to SSH agent forwarding, which this com [...]
-    "channelType": { "index": 12, "kind": "parameter", "displayName": "Channel 
Type", "group": "advanced", "label": "advanced", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": "exec", "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The type of SSH channel that runs the command: 
exec runs it as a single command, and  [...]
+    "channelOpenTimeout": { "index": 11, "kind": "parameter", "displayName": 
"Channel Open Timeout", "group": "advanced", "label": "advanced", "required": 
false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The time in milliseconds that the component 
waits for the channel that runs the command to open. If 0 or  [...]
+    "channelType": { "index": 12, "kind": "parameter", "displayName": "Channel 
Type", "group": "advanced", "label": "advanced", "required": false, "type": 
"enum", "javaType": "java.lang.String", "enum": [ "exec", "shell" ], 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 
"exec", "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The type of SSH channel that runs the command: 
exec runs i [...]
     "clientBuilder": { "index": 13, "kind": "parameter", "displayName": 
"Client Builder", "group": "advanced", "label": "advanced", "required": false, 
"type": "object", "javaType": "org.apache.sshd.client.ClientBuilder", 
"deprecated": false, "autowired": true, "secret": false, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "To use a custom 
org.apache.sshd.client.ClientBuilder to create the SSH client, for exa [...]
     "compressions": { "index": 14, "kind": "parameter", "displayName": 
"Compressions", "group": "advanced", "label": "advanced", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "A comma-separated list of the compression 
algorithms that the client proposes, in order of preference, for e [...]
     "connectTimeout": { "index": 15, "kind": "parameter", "displayName": 
"Connect Timeout", "group": "advanced", "label": "advanced", "required": false, 
"type": "integer", "javaType": "long", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The time in milliseconds that the socket 
connection to the server may take. If 0 or less, the default of Apache MI [...]
     "heartbeatInterval": { "index": 16, "kind": "parameter", "displayName": 
"Heartbeat Interval", "group": "advanced", "label": "advanced", "required": 
false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The interval in milliseconds at which the 
client sends keep-alive requests to the server while a command run [...]
     "heartbeatReplyMaxWait": { "index": 17, "kind": "parameter", 
"displayName": "Heartbeat Reply Max Wait", "group": "advanced", "label": 
"advanced", "required": false, "type": "integer", "javaType": "int", 
"deprecated": false, "autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The number of keep-alive requests without 
reply after which the client closes the session, when hea [...]
-    "idleTimeout": { "index": 18, "kind": "parameter", "displayName": "Idle 
Timeout", "group": "advanced", "label": "advanced", "required": false, "type": 
"integer", "javaType": "long", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The time in milliseconds after which Apache 
MINA SSHD closes a session without traffic. The session is open while a comm 
[...]
+    "idleTimeout": { "index": 18, "kind": "parameter", "displayName": "Idle 
Timeout", "group": "advanced", "label": "advanced", "required": false, "type": 
"integer", "javaType": "long", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": 600000, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The time in milliseconds after which Apache 
MINA SSHD closes a session without traffic. The sess [...]
     "shellPrompt": { "index": 19, "kind": "parameter", "displayName": "Shell 
Prompt", "group": "advanced", "label": "advanced", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The text that the shell prompt ends with, 
which channelType=shell needs: the endpoint fails to start without  [...]
     "sleepForShellPrompt": { "index": 20, "kind": "parameter", "displayName": 
"Sleep For Shell Prompt", "group": "advanced", "label": "advanced", "required": 
false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": 100, "configurationClass": 
"org.apache.camel.component.ssh.SshConfiguration", "configurationField": 
"configuration", "description": "The time in milliseconds between two reads of 
the shell output while the componen [...]
     "backoffErrorThreshold": { "index": 21, "kind": "parameter", 
"displayName": "Backoff Error Threshold", "group": "scheduler", "label": 
"consumer,scheduler", "required": false, "type": "integer", "javaType": "int", 
"deprecated": false, "autowired": false, "secret": false, "description": "The 
number of subsequent error polls (failed due some error) that should happen 
before the backoffMultipler should kick-in." },
diff --git a/components-starter/camel-ssh-starter/src/main/docs/ssh.json 
b/components-starter/camel-ssh-starter/src/main/docs/ssh.json
index c7256cb6cc6..e94bcb481bd 100644
--- a/components-starter/camel-ssh-starter/src/main/docs/ssh.json
+++ b/components-starter/camel-ssh-starter/src/main/docs/ssh.json
@@ -55,13 +55,13 @@
     {
       "name": "camel.component.ssh.channel-open-timeout",
       "type": "java.lang.Long",
-      "description": "Sets a channel open timeout of Apache MINA SSHD that 
applies only to SSH agent forwarding, which this component does not use. The 
timeout option limits how long the component waits for the channel that runs 
the command.",
+      "description": "The time in milliseconds that the component waits for 
the channel that runs the command to open. If 0 or less, the timeout option 
applies.",
       "sourceType": 
"org.apache.camel.component.ssh.springboot.SshComponentConfiguration"
     },
     {
       "name": "camel.component.ssh.channel-type",
       "type": "java.lang.String",
-      "description": "The type of SSH channel that runs the command: exec runs 
it as a single command, and shell writes it to an interactive shell and reads 
the output up to the shellPrompt text. Other values are not supported.",
+      "description": "The type of SSH channel that runs the command: exec runs 
it as a single command, and shell writes it to an interactive shell and reads 
the output up to the shellPrompt text. The endpoint fails to start with another 
value.",
       "sourceType": 
"org.apache.camel.component.ssh.springboot.SshComponentConfiguration",
       "defaultValue": "exec"
     },
@@ -142,8 +142,9 @@
     {
       "name": "camel.component.ssh.idle-timeout",
       "type": "java.lang.Long",
-      "description": "The time in milliseconds after which Apache MINA SSHD 
closes a session without traffic. The session is open while a command runs. If 
0 or less, the default of Apache MINA SSHD, 10 minutes, applies.",
-      "sourceType": 
"org.apache.camel.component.ssh.springboot.SshComponentConfiguration"
+      "description": "The time in milliseconds after which Apache MINA SSHD 
closes a session without traffic. The session is open while a command runs. The 
default, 10 minutes, is the default of Apache MINA SSHD. If 0 or less, the 
session has no idle timeout.",
+      "sourceType": 
"org.apache.camel.component.ssh.springboot.SshComponentConfiguration",
+      "defaultValue": 600000
     },
     {
       "name": "camel.component.ssh.kex",
@@ -216,7 +217,7 @@
     {
       "name": "camel.component.ssh.timeout",
       "type": "java.lang.Long",
-      "description": "The time in milliseconds that the component waits for 
each step of setting up the session: the connection, the authentication and the 
opening of the channel. It does not limit how long the command runs.",
+      "description": "The time in milliseconds that the component waits for 
each step of setting up the session: the connection, the authentication and the 
opening of the channel, unless channelOpenTimeout is set. It does not limit how 
long the command runs.",
       "sourceType": 
"org.apache.camel.component.ssh.springboot.SshComponentConfiguration",
       "defaultValue": 30000
     },
diff --git 
a/components-starter/camel-ssh-starter/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentConfiguration.java
 
b/components-starter/camel-ssh-starter/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentConfiguration.java
index 2c5d395f192..5ee0084a651 100644
--- 
a/components-starter/camel-ssh-starter/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentConfiguration.java
+++ 
b/components-starter/camel-ssh-starter/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentConfiguration.java
@@ -40,7 +40,8 @@ public class SshComponentConfiguration
     /**
      * The time in milliseconds that the component waits for each step of
      * setting up the session: the connection, the authentication and the
-     * opening of the channel. It does not limit how long the command runs.
+     * opening of the channel, unless channelOpenTimeout is set. It does not
+     * limit how long the command runs.
      */
     private Long timeout = 30000L;
     /**
@@ -91,16 +92,15 @@ public class SshComponentConfiguration
      */
     private Boolean autowiredEnabled = true;
     /**
-     * Sets a channel open timeout of Apache MINA SSHD that applies only to SSH
-     * agent forwarding, which this component does not use. The timeout option
-     * limits how long the component waits for the channel that runs the
-     * command.
+     * The time in milliseconds that the component waits for the channel that
+     * runs the command to open. If 0 or less, the timeout option applies.
      */
     private Long channelOpenTimeout;
     /**
      * The type of SSH channel that runs the command: exec runs it as a single
      * command, and shell writes it to an interactive shell and reads the 
output
-     * up to the shellPrompt text. Other values are not supported.
+     * up to the shellPrompt text. The endpoint fails to start with another
+     * value.
      */
     private String channelType = "exec";
     /**
@@ -144,10 +144,11 @@ public class SshComponentConfiguration
     private Integer heartbeatReplyMaxWait;
     /**
      * The time in milliseconds after which Apache MINA SSHD closes a session
-     * without traffic. The session is open while a command runs. If 0 or less,
-     * the default of Apache MINA SSHD, 10 minutes, applies.
+     * without traffic. The session is open while a command runs. The default,
+     * 10 minutes, is the default of Apache MINA SSHD. If 0 or less, the 
session
+     * has no idle timeout.
      */
-    private Long idleTimeout;
+    private Long idleTimeout = 600000L;
     /**
      * The text that the shell prompt ends with, which channelType=shell needs:
      * the endpoint fails to start without it. The component reads the output 
of
diff --git a/docs/spring-boot/modules/ROOT/pages/starters/ssh.adoc 
b/docs/spring-boot/modules/ROOT/pages/starters/ssh.adoc
index 794978b8155..a5fcfb37794 100644
--- a/docs/spring-boot/modules/ROOT/pages/starters/ssh.adoc
+++ b/docs/spring-boot/modules/ROOT/pages/starters/ssh.adoc
@@ -34,8 +34,8 @@ The starter supports 33 options, which are listed below.
 | camel.component.ssh.bridge-error-handler | Allows for bridging the consumer 
to the Camel routing Error Handler, which mean any exceptions (if possible) 
occurred while the Camel consumer is trying to pickup incoming messages, or the 
likes, will now be processed as a message and handled by the routing Error 
Handler. Important: This is only possible if the 3rd party component allows 
Camel to be alerted if an exception was thrown. Some components handle this 
internally only, and therefore  [...]
 | camel.component.ssh.cert-resource | The resource with the private key for 
public key authentication, in OpenSSH or PEM format, for example 
classpath:id_ed25519 or file:/home/camel/.ssh/id_ed25519. When set, it is used 
instead of keyPairProvider, and the password option and the CamelSshPassword 
header are not used. |  | String
 | camel.component.ssh.cert-resource-password | The passphrase of the private 
key in certResource, when that key is encrypted. |  | String
-| camel.component.ssh.channel-open-timeout | Sets a channel open timeout of 
Apache MINA SSHD that applies only to SSH agent forwarding, which this 
component does not use. The timeout option limits how long the component waits 
for the channel that runs the command. |  | Long
-| camel.component.ssh.channel-type | The type of SSH channel that runs the 
command: exec runs it as a single command, and shell writes it to an 
interactive shell and reads the output up to the shellPrompt text. Other values 
are not supported. | exec | String
+| camel.component.ssh.channel-open-timeout | The time in milliseconds that the 
component waits for the channel that runs the command to open. If 0 or less, 
the timeout option applies. |  | Long
+| camel.component.ssh.channel-type | The type of SSH channel that runs the 
command: exec runs it as a single command, and shell writes it to an 
interactive shell and reads the output up to the shellPrompt text. The endpoint 
fails to start with another value. | exec | String
 | camel.component.ssh.ciphers | A comma-separated list of the ciphers that the 
client proposes, in order of preference, for example aes256-ctr,aes128-ctr. It 
replaces the default list of Apache MINA SSHD. Names that are not known are 
skipped with a warning. |  | String
 | camel.component.ssh.client-builder | To use a custom 
org.apache.sshd.client.ClientBuilder to create the SSH client, for example to 
set a ServerKeyVerifier. The producer and the consumer each create a client 
with it when they start, and the options of this endpoint that are set are 
applied over its settings. The option is a org.apache.sshd.client.ClientBuilder 
type. |  | ClientBuilder
 | camel.component.ssh.compressions | A comma-separated list of the compression 
algorithms that the client proposes, in order of preference, for example 
zlib,none. If not set, the client uses no compression. |  | String
@@ -47,7 +47,7 @@ The starter supports 33 options, which are listed below.
 | camel.component.ssh.health-check-producer-enabled | Used for enabling or 
disabling all producer based health checks from this component. Notice: Camel 
has by default disabled all producer based health-checks. You can turn on 
producer checks globally by setting camel.health.producersEnabled=true. | true 
| Boolean
 | camel.component.ssh.heartbeat-interval | The interval in milliseconds at 
which the client sends keep-alive requests to the server while a command runs. 
If 0 or less, no keep-alive requests are sent. |  | Long
 | camel.component.ssh.heartbeat-reply-max-wait | The number of keep-alive 
requests without reply after which the client closes the session, when 
heartbeatInterval is set. If 0 or less, the default of Apache MINA SSHD 
applies. |  | Integer
-| camel.component.ssh.idle-timeout | The time in milliseconds after which 
Apache MINA SSHD closes a session without traffic. The session is open while a 
command runs. If 0 or less, the default of Apache MINA SSHD, 10 minutes, 
applies. |  | Long
+| camel.component.ssh.idle-timeout | The time in milliseconds after which 
Apache MINA SSHD closes a session without traffic. The session is open while a 
command runs. The default, 10 minutes, is the default of Apache MINA SSHD. If 0 
or less, the session has no idle timeout. | 600000 | Long
 | camel.component.ssh.kex | A comma-separated list of the key exchange 
algorithms that the client proposes, in order of preference, for example 
mlkem768x25519-sha256,curve25519-sha256. It replaces the default list of Apache 
MINA SSHD, which already proposes the post-quantum hybrid algorithms. Names 
that are not known are skipped with a warning. |  | String
 | camel.component.ssh.key-pair-provider | The 
org.apache.sshd.common.keyprovider.KeyPairProvider that gives the key pair for 
public key authentication. It is not used when certResource is set, and when it 
is used, the password option and the CamelSshPassword header are not. The 
option is a org.apache.sshd.common.keyprovider.KeyPairProvider type. |  | 
KeyPairProvider
 | camel.component.ssh.key-type | The key type of the key pair to use from 
certResource or keyPairProvider, for example ssh-rsa, ssh-ed25519 or 
ecdsa-sha2-nistp256. If not set, the first key pair is used. |  | String
@@ -59,6 +59,6 @@ The starter supports 33 options, which are listed below.
 | camel.component.ssh.shell-prompt | The text that the shell prompt ends with, 
which channelType=shell needs: the endpoint fails to start without it. The 
component reads the output of the shell until it ends with this text, before 
and after it writes the command, and the message body is the text between the 
first and the last line break of that output. |  | String
 | camel.component.ssh.signatures | A comma-separated list of the signature 
algorithms that the client supports, in order of preference, for example 
ssh-ed25519,rsa-sha2-512. It replaces the default list of Apache MINA SSHD. 
Names that are not known are skipped with a warning. |  | String
 | camel.component.ssh.sleep-for-shell-prompt | The time in milliseconds 
between two reads of the shell output while the component waits for the 
shellPrompt text, with channelType=shell. | 100 | Long
-| camel.component.ssh.timeout | The time in milliseconds that the component 
waits for each step of setting up the session: the connection, the 
authentication and the opening of the channel. It does not limit how long the 
command runs. | 30000 | Long
+| camel.component.ssh.timeout | The time in milliseconds that the component 
waits for each step of setting up the session: the connection, the 
authentication and the opening of the channel, unless channelOpenTimeout is 
set. It does not limit how long the command runs. | 30000 | Long
 | camel.component.ssh.username | The user name to log in with. With 
allowUsernameAndPasswordFromHeaders=true, the CamelSshUsername header replaces 
it for the producer. |  | String
 |===

Reply via email to