Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14063

camel-ssh adding persistent connection feature

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Abandoned
    • 2.24.2
    • None
    • camel-ssh
    • None
    • Unknown

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Ecker David
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: