You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/09/02 11:38:00 UTC
[jira] [Resolved] (CAMEL-14063) camel-ssh adding persistent connection feature
[ https://issues.apache.org/jira/browse/CAMEL-14063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-14063.
---------------------------------
Resolution: Abandoned
> camel-ssh adding persistent connection feature
> ----------------------------------------------
>
> Key: CAMEL-14063
> URL: https://issues.apache.org/jira/browse/CAMEL-14063
> Project: Camel
> Issue Type: Improvement
> Components: camel-ssh
> Affects Versions: 2.24.2
> Reporter: David
> Priority: Major
>
> Problem:
> Each remote command (polling, camel-ssh) creates a log entry (Login/Logout on the remote managed device) polluting the log and creating a load on managed devices.
> Reason:
> In camel version 2.24.2 the ssh components uses a static method which connects and disconnects with each request/command => No persistent connection possible
> Request:
> Leave the default behavior as is. Add a new option "persistent" to the component which will persist the connection but will create and drop the ssh command channel with each command only. Only recreate the connection if host/login or password changes. Pass back an exception if a connection is lost to let the route handle that case.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)