David created CAMEL-14063:
-----------------------------

             Summary: 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


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.3.4#803005)

Reply via email to