twlhack created CAMEL-13011:
-------------------------------

             Summary: how to in camel-sftp uploaded files after used camel-ssh 
pollcommand feature?
                 Key: CAMEL-13011
                 URL: https://issues.apache.org/jira/browse/CAMEL-13011
             Project: Camel
          Issue Type: Bug
          Components: camel-sftp, camel-ssh
    Affects Versions: 2.21.1
         Environment: java 1.8

spring boot 1.15.x

centos 7 

 
            Reporter: twlhack


{code:java}
from("file:I:/workProject/java/xxxx/luaFiles/").multicast().to("direct:a", 
"direct:b").end().to("direct:c");
from("direct:a").to("sftp://[email protected]/xxxx/controllers/gen/?password=root&stepwise=true&runLoggingLevel=TRACE&throwExceptionOnConnectFailed=true&idempotent=true";);
from("direct:b").to("sftp://[email protected]/?password=root&stepwise=true&runLoggingLevel=TRACE&throwExceptionOnConnectFailed=true&idempotent=true";);
from("direct:c").to("ssh://root:[email protected]?pollCommand=reboot%0A").log("
 uploaded success !${body}");
{code}
In after  uploaded files completed , I want to send command to remote sever do  
nginx -s reload 

etc operation!!

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to