Since we're on a major migration process of this website, some component documents here are out of sync right now. In the meantime you may want to look at the early version of the new website
https://camel.apache.org/staging/
We would very much like to receive any feedback on the new site, please join the discussion on the Camel user mailing list.
JschThe camel-jsch component supports the SCP protocol using the Client API of the Jsch project. Jsch is already used in camel by the FTP component for the sftp: protocol. Maven users will need to add the following dependency to their <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-jsch</artifactId> <version>x.x.x</version> <!-- use the same version as your Camel core version --> </dependency> URI formatscp://host[:port]/destination[?options] You can append query options to the URI in the following format, The file name can be specified either in the <path> part of the URI or as a "CamelFileName" header on the message ( Options
Component OptionsThe JschComponent supports the following options
LimitationsCurrently camel-jsch only supports a Producer (i.e. copy files to another host). |