You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bu...@apache.org on 2012/04/18 21:18:14 UTC

svn commit: r813550 - in /websites/production/camel/content: cache/main.pageCache jsch.html

Author: buildbot
Date: Wed Apr 18 19:18:13 2012
New Revision: 813550

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/jsch.html

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/camel/content/jsch.html
==============================================================================
--- websites/production/camel/content/jsch.html (original)
+++ websites/production/camel/content/jsch.html Wed Apr 18 19:18:13 2012
@@ -100,13 +100,19 @@ scp:<span class="code-comment">//host[:p
 
 <p>You can append query options to the URI in the following format, <tt>?option=value&amp;option=value&amp;...</tt></p>
 
+<p>The file name can be specified either in the &lt;path&gt; part of the URI or as a "CamelFileName" header on the message (<tt>Exchange.FILE_NAME</tt> if used in code).</p>
+
 <h3><a shape="rect" name="Jsch-Options"></a>Options</h3>
 <div class="confluenceTableSmall"></div>
 <div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Name </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th><th colspan="1" rowspan="1" class="confluenceTh"> Example </th><th colspan="1" rowspan="1" class="confluenceTh"> Default Value </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>username</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Specifies the username to use to log in to the remote file system. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>password</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Specifies the password to use to log in to the remote file system. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>knownHostsFile</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>
 null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Sets the <tt>known_hosts</tt> file, so that the scp endpoint can do host key verification. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>strictHostKeyChecking</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>no</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Sets whether to use strict host key checking. Possible values are: <tt>no</tt>, <tt>yes</tt> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>chmod</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Allows you to set chmod on the stored file. For example <tt>chmod=664</tt>. </td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Name </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th><th colspan="1" rowspan="1" class="confluenceTh"> Example </th><th colspan="1" rowspan="1" class="confluenceTh"> Default Value </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>username</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Specifies the username to use to log in to the remote file system. </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>password</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Specifies the password to use to log in to the remote file system. </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td></tr><tr><td colspan="
 1" rowspan="1" class="confluenceTd"> <tt>knownHostsFile</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Sets the <tt>known_hosts</tt> file, so that the scp endpoint can do host key verification. </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>strictHostKeyChecking</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Sets whether to use strict host key checking. Possible values are: <tt>no</tt>, <tt>yes</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>no</tt> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>chmod</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Allows you to set chmod on the stored file. For example <tt>chmod=664</tt>. </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><td cols
 pan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td></tr></tbody></table>
 </div>
 
 
+<h3><a shape="rect" name="Jsch-Limitations"></a>Limitations</h3>
+
+<p>Currently camel-jsch only supports a <a shape="rect" class="external-link" href="http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/Producer.html">Producer</a> (i.e. copy files to another host). The reason is that the scp protocol does not offer the possibility to scan (list) the content of a directory. As such a polling consumer cannot watch for changes and trigger events on changes. It is possible however to use camel-jsch in sink mode for one time copy from a remote host using a <a shape="rect" class="external-link" href="http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/ConsumerTemplate.html">ConsumerTemplate</a> (see <a shape="rect" href="polling-consumer.html" title="Polling Consumer">Polling Consumer</a>(s) for more details).</p>
+
 <h3><a shape="rect" name="Jsch-SeeAlso"></a>See Also</h3>
 <ul><li><a shape="rect" href="configuring-camel.html" title="Configuring Camel">Configuring Camel</a></li><li><a shape="rect" href="component.html" title="Component">Component</a></li><li><a shape="rect" href="endpoint.html" title="Endpoint">Endpoint</a></li><li><a shape="rect" href="getting-started.html" title="Getting Started">Getting Started</a></li></ul>
 </div>