SOLVED! Thank you Pradeep -- you're suggestion that somehow it had to be a
to("...") made me look closer...
from("direct:invokeScript")
*.transform(constant(shellCommand))*
.to("ssh://user:pwd@myurl:22")
It's actually in the documentation :-\ and i just didn't understand what it
was telling me until now. For a to("ssh:...") you need to pass the command
in the body -- without any carriage return.
Now to figure it out in the file download case.....
--
View this message in context:
http://camel.465427.n5.nabble.com/Using-from-direct-to-initiate-file-download-how-to-prevent-subsequent-from-s-in-the-from-auto-launch-tp5746748p5746784.html
Sent from the Camel - Users mailing list archive at Nabble.com.