[ 
https://issues.apache.org/jira/browse/CAMEL-4713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190841#comment-13190841
 ] 

Ioannis Canellos commented on CAMEL-4713:
-----------------------------------------

Great job Scott.

I haven't had the chance to test the component, but I have given a glimpse at 
the source.
Assuming that Mina SSH clients works in the same manner as Mina I assume that 
the client connection will stay open across requests. With this in mind it 
might be a good idea to hold the session open[1] and reuse it across requests, 
so that you don't connect, authenticate etc all the time.

Hopefully, I'll find some more time and provide more feedback.

[1]: There could be an enpoint uri parameter or a header in the Exchange that 
would allow the user that doesn't want the connection to be open. We have 
something like this in camel-mina, camel-mail etc.
                
> Create a camel component for SSH
> --------------------------------
>
>                 Key: CAMEL-4713
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4713
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Ioannis Canellos
>             Fix For: 2.10.0
>
>
> Lately, I've seen a lot of questions in the mailing list for people that 
> would want to use camel to execute SSH commands to remote hosts.
> I think it would be nice if we could provide such component to the users.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to