camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r851323 - in /websites/production/camel/content: book-component-appendix.html book-in-one-page.html cache/main.pageCache ftp.html ftp2.html
Date Wed, 20 Feb 2013 18:27:42 GMT
Author: buildbot
Date: Wed Feb 20 18:27:42 2013
New Revision: 851323

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/book-component-appendix.html
    websites/production/camel/content/book-in-one-page.html
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/ftp.html
    websites/production/camel/content/ftp2.html

Modified: websites/production/camel/content/book-component-appendix.html
==============================================================================
--- websites/production/camel/content/book-component-appendix.html (original)
+++ websites/production/camel/content/book-component-appendix.html Wed Feb 20 18:27:42 2013
@@ -4801,8 +4801,7 @@ ${body}
 
 <p>Maven users will need to add the following dependency to their <tt>pom.xml</tt> for this component:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;dependency&gt;</span>
+<pre class="code-xml"><span class="code-tag">&lt;dependency&gt;</span>
     <span class="code-tag">&lt;groupId&gt;</span>org.apache.camel<span class="code-tag">&lt;/groupId&gt;</span>
     <span class="code-tag">&lt;artifactId&gt;</span>camel-ftp<span class="code-tag">&lt;/artifactId&gt;</span>
     <span class="code-tag">&lt;version&gt;</span>x.x.x<span class="code-tag">&lt;/version&gt;</span>
@@ -4818,8 +4817,7 @@ ${body}
 <h3><a shape="rect" name="BookComponentAppendix-URIformat"></a>URI format</h3>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-ftp:<span class="code-comment">//[username@]hostname[:port]/directoryname[?options]
+<pre class="code-java">ftp:<span class="code-comment">//[username@]hostname[:port]/directoryname[?options]
 </span>sftp:<span class="code-comment">//[username@]hostname[:port]/directoryname[?options]
 </span>ftps:<span class="code-comment">//[username@]hostname[:port]/directoryname[?options]</span>
 </pre>
@@ -4846,7 +4844,7 @@ FTPS (also known as FTP Secure) is an ex
 <div class="confluenceTableSmall"><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"> Default Value </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </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 systen. </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>binary</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Speci
 fies the file transfer mode, BINARY or ASCII. Default is ASCII (<tt>false</tt>). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>disconnect</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.2:</b> Whether or not to disconnect from remote FTP server right after use. Can be used for both consumer and producer. Disconnect will only disconnect the current connection to the FTP server. If you have a consumer which you want to stop, then you need to stop the consumer/route instead. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>localWorkDirectory</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> When consuming, a local work directory can be used to store the remote file content directly in local files, to avoid loading the content into memory. This is beneficial, if you con
 sume a very big remote file and thus can conserve memory. See below for more details. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>passiveMode</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>FTP and FTPS only</b>: Specifies whether to use passive mode connections. Default is active mode (<tt>false</tt>). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>securityProtocol</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>TLS</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>FTPS only:</b> Sets the underlying security protocol. The following values are defined: <br clear="none" class="atl-forced-newline">
 <tt>TLS</tt>: Transport Layer Security <br clear="none" class="atl-forced-newline">
-<tt>SSL</tt>: Secure Sockets Layer </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>disableSecureDataChannelDefaults</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.4: FTPS only</b>: Whether or not to disable using default values for <tt>execPbsz</tt> and <tt>execProt</tt> when using secure data transfer. You can set this option to <tt>true</tt> if you want to be in absolute full control what the options <tt>execPbsz</tt> and <tt>execProt</tt> should be used. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>download</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11:</b> Whether the FTP consumer should download the file. If this option is set to <tt>false</tt>, then the message body will be <tt>null</tt>, but the consumer will still trigger a Camel <a shap
 e="rect" href="exchange.html" title="Exchange">Exchange</a> that has details about the file such as file name, file size, etc. It's just that the file will not be downloaded. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>execProt</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.4: FTPS only</b>: Will by default use option <tt>P</tt> if secure data channel defaults hasn't been disabled. Possible values are: <br clear="none" class="atl-forced-newline">
+<tt>SSL</tt>: Secure Sockets Layer </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>disableSecureDataChannelDefaults</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.4: FTPS only</b>: Whether or not to disable using default values for <tt>execPbsz</tt> and <tt>execProt</tt> when using secure data transfer. You can set this option to <tt>true</tt> if you want to be in absolute full control what the options <tt>execPbsz</tt> and <tt>execProt</tt> should be used. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>download</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11:</b> Whether the FTP consumer should download the file. If this option is set to <tt>false</tt>, then the message body will be <tt>null</tt>, but the consumer will still trigger a Camel <a shap
 e="rect" href="exchange.html" title="Exchange">Exchange</a> that has details about the file such as file name, file size, etc. It's just that the file will not be downloaded. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> streamDownload<br clear="none" class="atl-forced-newline"> </td><td colspan="1" rowspan="1" class="confluenceTd"> false </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11:</b>&#160;Whether the consumer should download the entire file up front, the default behavior, or if it should pass an InputStream&#160;read from the remote resource rather than an in-memory array as the in body of the&#160;Camel&#160;<a shape="rect" href="exchange.html" title="Exchange">Exchange</a>. &#160;This option is ignored if download&#160;is false&#160;or is localWorkDirectory is provided. &#160;This option is useful for working with large remote files. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>execProt</tt> </td><td cols
 pan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.4: FTPS only</b>: Will by default use option <tt>P</tt> if secure data channel defaults hasn't been disabled. Possible values are: <br clear="none" class="atl-forced-newline">
 <tt>C</tt>: Clear <br clear="none" class="atl-forced-newline">
 <tt>S</tt>: Safe (SSL protocol only) <br clear="none" class="atl-forced-newline">
 <tt>E</tt>: Confidential (SSL protocol only) <br clear="none" class="atl-forced-newline">
@@ -4862,15 +4860,13 @@ FTPS (also known as FTP Secure) is an ex
 
 <p>For example to set the <tt>setDataTimeout</tt> on the <tt>FTPClient</tt> to 30 seconds you can do:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-from(<span class="code-quote">"ftp:<span class="code-comment">//foo@myserver?password=secret&amp;ftpClient.dataTimeout=30000"</span>).to(<span class="code-quote">"bean:foo"</span>);</span>
+<pre class="code-java">from(<span class="code-quote">"ftp:<span class="code-comment">//foo@myserver?password=secret&amp;ftpClient.dataTimeout=30000"</span>).to(<span class="code-quote">"bean:foo"</span>);</span>
 </pre>
 </div></div>
 
 <p>You can mix and match and have use both prefixes, for example to configure date format or timezones.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-from(<span class="code-quote">"ftp:<span class="code-comment">//foo@myserver?password=secret&amp;ftpClient.dataTimeout=30000&amp;ftpClientConfig.serverLanguageCode=fr"</span>).to(<span class="code-quote">"bean:foo"</span>);</span>
+<pre class="code-java">from(<span class="code-quote">"ftp:<span class="code-comment">//foo@myserver?password=secret&amp;ftpClient.dataTimeout=30000&amp;ftpClientConfig.serverLanguageCode=fr"</span>).to(<span class="code-quote">"bean:foo"</span>);</span>
 </pre>
 </div></div>
 
@@ -4883,8 +4879,7 @@ And as well for <a shape="rect" class="e
 
 <p>For example:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-   &lt;bean id=<span class="code-quote">"myConfig"</span> class=<span class="code-quote">"org.apache.commons.net.ftp.FTPClientConfig"</span>&gt;
+<pre class="code-java">   &lt;bean id=<span class="code-quote">"myConfig"</span> class=<span class="code-quote">"org.apache.commons.net.ftp.FTPClientConfig"</span>&gt;
        &lt;property name=<span class="code-quote">"lenientFutureDates"</span> value=<span class="code-quote">"<span class="code-keyword">true</span>"</span>/&gt;
        &lt;property name=<span class="code-quote">"serverLanguageCode"</span> value=<span class="code-quote">"fr"</span>/&gt;
    &lt;/bean&gt;
@@ -4893,8 +4888,7 @@ And as well for <a shape="rect" class="e
 
 <p>And then let Camel lookup this bean when you use the # notation in the url.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-from(<span class="code-quote">"ftp:<span class="code-comment">//foo@myserver?password=secret&amp;ftpClientConfig=#myConfig"</span>).to(<span class="code-quote">"bean:foo"</span>);</span>
+<pre class="code-java">from(<span class="code-quote">"ftp:<span class="code-comment">//foo@myserver?password=secret&amp;ftpClientConfig=#myConfig"</span>).to(<span class="code-quote">"bean:foo"</span>);</span>
 </pre>
 </div></div>
 
@@ -4951,8 +4945,7 @@ There are other solutions to avoid consu
 
 <p>So if you want to download files from a remote FTP server and store it as files then you need to route to a file endpoint such as:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-from(<span class="code-quote">"ftp:<span class="code-comment">//someone@someserver.com?password=secret&amp;localWorkDirectory=/tmp"</span>).to(<span class="code-quote">"file://inbox"</span>);</span>
+<pre class="code-java">from(<span class="code-quote">"ftp:<span class="code-comment">//someone@someserver.com?password=secret&amp;localWorkDirectory=/tmp"</span>).to(<span class="code-quote">"file://inbox"</span>);</span>
 </pre>
 </div></div>
 
@@ -4976,8 +4969,7 @@ from(<span class="code-quote">"ftp:<span
 
 <p>The difference between the two of them is best illustrated with an example. Suppose we have the following directory structure on the remote FTP server we need to traverse and download files:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-/
+<pre class="code-java">/
 /one
 /one/two
 /one/two/sub-a
@@ -4989,8 +4981,7 @@ from(<span class="code-quote">"ftp:<span
 
 <h4><a shape="rect" name="BookComponentAppendix-Usingstepwise%3Dtrue%28defaultmode%29"></a>Using stepwise=true (default mode)</h4>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-TYPE A
+<pre class="code-java">TYPE A
 200 Type set to A
 PWD
 257 <span class="code-quote">"/"</span> is current directory.
@@ -5078,8 +5069,7 @@ disconnected.
 
 <h4><a shape="rect" name="BookComponentAppendix-Usingstepwise%3Dfalse"></a>Using stepwise=false</h4>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-230 Logged on
+<pre class="code-java">230 Logged on
 TYPE A
 200 Type set to A
 SYST
@@ -5149,8 +5139,7 @@ disconnected.
 
 <p>And the route using Spring DSL:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-  <span class="code-tag">&lt;route&gt;</span>
+<pre class="code-xml">  <span class="code-tag">&lt;route&gt;</span>
      <span class="code-tag">&lt;from uri=<span class="code-quote">"ftp://scott@localhost/public/reports?password=tiger&amp;amp;binary=true&amp;amp;delay=60000"</span>/&gt;</span>
      <span class="code-tag">&lt;to uri=<span class="code-quote">"file://target/test-reports"</span>/&gt;</span>
   <span class="code-tag">&lt;/route&gt;</span>
@@ -5159,8 +5148,7 @@ disconnected.
 
 <h4><a shape="rect" name="BookComponentAppendix-ConsumingaremoteFTPSserver%28implicitSSL%29andclientauthentication"></a>Consuming a remote FTPS server (implicit SSL) and client authentication</h4>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-from("ftps:<span class="code-comment">//admin@localhost:2222/<span class="code-keyword">public</span>/camel?password=admin&amp;securityProtocol=SSL&amp;isImplicit=<span class="code-keyword">true</span>
+<pre class="code-java">from("ftps:<span class="code-comment">//admin@localhost:2222/<span class="code-keyword">public</span>/camel?password=admin&amp;securityProtocol=SSL&amp;isImplicit=<span class="code-keyword">true</span>
 </span>      &amp;ftpClient.keyStore.file=./src/test/resources/server.jks
       &amp;ftpClient.keyStore.password=password&amp;ftpClient.keyStore.keyPassword=password")
   .to(<span class="code-quote">"bean:foo"</span>);
@@ -5169,8 +5157,7 @@ from("ftps:<span class="code-comment">//
 
 <h4><a shape="rect" name="BookComponentAppendix-ConsumingaremoteFTPSserver%28explicitTLS%29andacustomtruststoreconfiguration"></a>Consuming a remote FTPS server (explicit TLS) and a custom trust store configuration</h4>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-from(<span class="code-quote">"ftps:<span class="code-comment">//admin@localhost:2222/<span class="code-keyword">public</span>/camel?password=admin&amp;ftpClient.trustStore.file=./src/test/resources/server.jks&amp;ftpClient.trustStore.password=password"</span>)
+<pre class="code-java">from(<span class="code-quote">"ftps:<span class="code-comment">//admin@localhost:2222/<span class="code-keyword">public</span>/camel?password=admin&amp;ftpClient.trustStore.file=./src/test/resources/server.jks&amp;ftpClient.trustStore.password=password"</span>)
 </span>  .to(<span class="code-quote">"bean:foo"</span>);
 </pre>
 </div></div>
@@ -5193,8 +5180,7 @@ from(<span class="code-quote">"ftps:<spa
 
 <p>And then we can configure our route using the <b>filter</b> attribute to reference our filter (using <tt>#</tt> notation) that we have defined in the spring XML file:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-   <span class="code-tag"><span class="code-comment">&lt;!-- define our sorter as a plain spring bean --&gt;</span></span>
+<pre class="code-xml">   <span class="code-tag"><span class="code-comment">&lt;!-- define our sorter as a plain spring bean --&gt;</span></span>
    <span class="code-tag">&lt;bean id=<span class="code-quote">"myFilter"</span> class=<span class="code-quote">"com.mycompany.MyFileFilter"</span>/&gt;</span>
 
   <span class="code-tag">&lt;route&gt;</span>

Modified: websites/production/camel/content/book-in-one-page.html
==============================================================================
--- websites/production/camel/content/book-in-one-page.html (original)
+++ websites/production/camel/content/book-in-one-page.html Wed Feb 20 18:27:42 2013
@@ -25472,8 +25472,7 @@ ${body}
 
 <p>Maven users will need to add the following dependency to their <tt>pom.xml</tt> for this component:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;dependency&gt;</span>
+<pre class="code-xml"><span class="code-tag">&lt;dependency&gt;</span>
     <span class="code-tag">&lt;groupId&gt;</span>org.apache.camel<span class="code-tag">&lt;/groupId&gt;</span>
     <span class="code-tag">&lt;artifactId&gt;</span>camel-ftp<span class="code-tag">&lt;/artifactId&gt;</span>
     <span class="code-tag">&lt;version&gt;</span>x.x.x<span class="code-tag">&lt;/version&gt;</span>
@@ -25489,8 +25488,7 @@ ${body}
 <h3><a shape="rect" name="BookInOnePage-URIformat"></a>URI format</h3>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-ftp:<span class="code-comment">//[username@]hostname[:port]/directoryname[?options]
+<pre class="code-java">ftp:<span class="code-comment">//[username@]hostname[:port]/directoryname[?options]
 </span>sftp:<span class="code-comment">//[username@]hostname[:port]/directoryname[?options]
 </span>ftps:<span class="code-comment">//[username@]hostname[:port]/directoryname[?options]</span>
 </pre>
@@ -25517,7 +25515,7 @@ FTPS (also known as FTP Secure) is an ex
 <div class="confluenceTableSmall"><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"> Default Value </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </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 systen. </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>binary</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Speci
 fies the file transfer mode, BINARY or ASCII. Default is ASCII (<tt>false</tt>). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>disconnect</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.2:</b> Whether or not to disconnect from remote FTP server right after use. Can be used for both consumer and producer. Disconnect will only disconnect the current connection to the FTP server. If you have a consumer which you want to stop, then you need to stop the consumer/route instead. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>localWorkDirectory</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> When consuming, a local work directory can be used to store the remote file content directly in local files, to avoid loading the content into memory. This is beneficial, if you con
 sume a very big remote file and thus can conserve memory. See below for more details. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>passiveMode</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>FTP and FTPS only</b>: Specifies whether to use passive mode connections. Default is active mode (<tt>false</tt>). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>securityProtocol</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>TLS</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>FTPS only:</b> Sets the underlying security protocol. The following values are defined: <br clear="none" class="atl-forced-newline">
 <tt>TLS</tt>: Transport Layer Security <br clear="none" class="atl-forced-newline">
-<tt>SSL</tt>: Secure Sockets Layer </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>disableSecureDataChannelDefaults</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.4: FTPS only</b>: Whether or not to disable using default values for <tt>execPbsz</tt> and <tt>execProt</tt> when using secure data transfer. You can set this option to <tt>true</tt> if you want to be in absolute full control what the options <tt>execPbsz</tt> and <tt>execProt</tt> should be used. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>download</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11:</b> Whether the FTP consumer should download the file. If this option is set to <tt>false</tt>, then the message body will be <tt>null</tt>, but the consumer will still trigger a Camel <a shap
 e="rect" href="exchange.html" title="Exchange">Exchange</a> that has details about the file such as file name, file size, etc. It's just that the file will not be downloaded. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>execProt</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.4: FTPS only</b>: Will by default use option <tt>P</tt> if secure data channel defaults hasn't been disabled. Possible values are: <br clear="none" class="atl-forced-newline">
+<tt>SSL</tt>: Secure Sockets Layer </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>disableSecureDataChannelDefaults</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.4: FTPS only</b>: Whether or not to disable using default values for <tt>execPbsz</tt> and <tt>execProt</tt> when using secure data transfer. You can set this option to <tt>true</tt> if you want to be in absolute full control what the options <tt>execPbsz</tt> and <tt>execProt</tt> should be used. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>download</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11:</b> Whether the FTP consumer should download the file. If this option is set to <tt>false</tt>, then the message body will be <tt>null</tt>, but the consumer will still trigger a Camel <a shap
 e="rect" href="exchange.html" title="Exchange">Exchange</a> that has details about the file such as file name, file size, etc. It's just that the file will not be downloaded. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> streamDownload<br clear="none" class="atl-forced-newline"> </td><td colspan="1" rowspan="1" class="confluenceTd"> false </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11:</b>&#160;Whether the consumer should download the entire file up front, the default behavior, or if it should pass an InputStream&#160;read from the remote resource rather than an in-memory array as the in body of the&#160;Camel&#160;<a shape="rect" href="exchange.html" title="Exchange">Exchange</a>. &#160;This option is ignored if download&#160;is false&#160;or is localWorkDirectory is provided. &#160;This option is useful for working with large remote files. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>execProt</tt> </td><td cols
 pan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.4: FTPS only</b>: Will by default use option <tt>P</tt> if secure data channel defaults hasn't been disabled. Possible values are: <br clear="none" class="atl-forced-newline">
 <tt>C</tt>: Clear <br clear="none" class="atl-forced-newline">
 <tt>S</tt>: Safe (SSL protocol only) <br clear="none" class="atl-forced-newline">
 <tt>E</tt>: Confidential (SSL protocol only) <br clear="none" class="atl-forced-newline">
@@ -25533,15 +25531,13 @@ FTPS (also known as FTP Secure) is an ex
 
 <p>For example to set the <tt>setDataTimeout</tt> on the <tt>FTPClient</tt> to 30 seconds you can do:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-from(<span class="code-quote">"ftp:<span class="code-comment">//foo@myserver?password=secret&amp;ftpClient.dataTimeout=30000"</span>).to(<span class="code-quote">"bean:foo"</span>);</span>
+<pre class="code-java">from(<span class="code-quote">"ftp:<span class="code-comment">//foo@myserver?password=secret&amp;ftpClient.dataTimeout=30000"</span>).to(<span class="code-quote">"bean:foo"</span>);</span>
 </pre>
 </div></div>
 
 <p>You can mix and match and have use both prefixes, for example to configure date format or timezones.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-from(<span class="code-quote">"ftp:<span class="code-comment">//foo@myserver?password=secret&amp;ftpClient.dataTimeout=30000&amp;ftpClientConfig.serverLanguageCode=fr"</span>).to(<span class="code-quote">"bean:foo"</span>);</span>
+<pre class="code-java">from(<span class="code-quote">"ftp:<span class="code-comment">//foo@myserver?password=secret&amp;ftpClient.dataTimeout=30000&amp;ftpClientConfig.serverLanguageCode=fr"</span>).to(<span class="code-quote">"bean:foo"</span>);</span>
 </pre>
 </div></div>
 
@@ -25554,8 +25550,7 @@ And as well for <a shape="rect" class="e
 
 <p>For example:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-   &lt;bean id=<span class="code-quote">"myConfig"</span> class=<span class="code-quote">"org.apache.commons.net.ftp.FTPClientConfig"</span>&gt;
+<pre class="code-java">   &lt;bean id=<span class="code-quote">"myConfig"</span> class=<span class="code-quote">"org.apache.commons.net.ftp.FTPClientConfig"</span>&gt;
        &lt;property name=<span class="code-quote">"lenientFutureDates"</span> value=<span class="code-quote">"<span class="code-keyword">true</span>"</span>/&gt;
        &lt;property name=<span class="code-quote">"serverLanguageCode"</span> value=<span class="code-quote">"fr"</span>/&gt;
    &lt;/bean&gt;
@@ -25564,8 +25559,7 @@ And as well for <a shape="rect" class="e
 
 <p>And then let Camel lookup this bean when you use the # notation in the url.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-from(<span class="code-quote">"ftp:<span class="code-comment">//foo@myserver?password=secret&amp;ftpClientConfig=#myConfig"</span>).to(<span class="code-quote">"bean:foo"</span>);</span>
+<pre class="code-java">from(<span class="code-quote">"ftp:<span class="code-comment">//foo@myserver?password=secret&amp;ftpClientConfig=#myConfig"</span>).to(<span class="code-quote">"bean:foo"</span>);</span>
 </pre>
 </div></div>
 
@@ -25622,8 +25616,7 @@ There are other solutions to avoid consu
 
 <p>So if you want to download files from a remote FTP server and store it as files then you need to route to a file endpoint such as:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-from(<span class="code-quote">"ftp:<span class="code-comment">//someone@someserver.com?password=secret&amp;localWorkDirectory=/tmp"</span>).to(<span class="code-quote">"file://inbox"</span>);</span>
+<pre class="code-java">from(<span class="code-quote">"ftp:<span class="code-comment">//someone@someserver.com?password=secret&amp;localWorkDirectory=/tmp"</span>).to(<span class="code-quote">"file://inbox"</span>);</span>
 </pre>
 </div></div>
 
@@ -25647,8 +25640,7 @@ from(<span class="code-quote">"ftp:<span
 
 <p>The difference between the two of them is best illustrated with an example. Suppose we have the following directory structure on the remote FTP server we need to traverse and download files:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-/
+<pre class="code-java">/
 /one
 /one/two
 /one/two/sub-a
@@ -25660,8 +25652,7 @@ from(<span class="code-quote">"ftp:<span
 
 <h4><a shape="rect" name="BookInOnePage-Usingstepwise%3Dtrue%28defaultmode%29"></a>Using stepwise=true (default mode)</h4>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-TYPE A
+<pre class="code-java">TYPE A
 200 Type set to A
 PWD
 257 <span class="code-quote">"/"</span> is current directory.
@@ -25749,8 +25740,7 @@ disconnected.
 
 <h4><a shape="rect" name="BookInOnePage-Usingstepwise%3Dfalse"></a>Using stepwise=false</h4>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-230 Logged on
+<pre class="code-java">230 Logged on
 TYPE A
 200 Type set to A
 SYST
@@ -25820,8 +25810,7 @@ disconnected.
 
 <p>And the route using Spring DSL:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-  <span class="code-tag">&lt;route&gt;</span>
+<pre class="code-xml">  <span class="code-tag">&lt;route&gt;</span>
      <span class="code-tag">&lt;from uri=<span class="code-quote">"ftp://scott@localhost/public/reports?password=tiger&amp;amp;binary=true&amp;amp;delay=60000"</span>/&gt;</span>
      <span class="code-tag">&lt;to uri=<span class="code-quote">"file://target/test-reports"</span>/&gt;</span>
   <span class="code-tag">&lt;/route&gt;</span>
@@ -25830,8 +25819,7 @@ disconnected.
 
 <h4><a shape="rect" name="BookInOnePage-ConsumingaremoteFTPSserver%28implicitSSL%29andclientauthentication"></a>Consuming a remote FTPS server (implicit SSL) and client authentication</h4>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-from("ftps:<span class="code-comment">//admin@localhost:2222/<span class="code-keyword">public</span>/camel?password=admin&amp;securityProtocol=SSL&amp;isImplicit=<span class="code-keyword">true</span>
+<pre class="code-java">from("ftps:<span class="code-comment">//admin@localhost:2222/<span class="code-keyword">public</span>/camel?password=admin&amp;securityProtocol=SSL&amp;isImplicit=<span class="code-keyword">true</span>
 </span>      &amp;ftpClient.keyStore.file=./src/test/resources/server.jks
       &amp;ftpClient.keyStore.password=password&amp;ftpClient.keyStore.keyPassword=password")
   .to(<span class="code-quote">"bean:foo"</span>);
@@ -25840,8 +25828,7 @@ from("ftps:<span class="code-comment">//
 
 <h4><a shape="rect" name="BookInOnePage-ConsumingaremoteFTPSserver%28explicitTLS%29andacustomtruststoreconfiguration"></a>Consuming a remote FTPS server (explicit TLS) and a custom trust store configuration</h4>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-from(<span class="code-quote">"ftps:<span class="code-comment">//admin@localhost:2222/<span class="code-keyword">public</span>/camel?password=admin&amp;ftpClient.trustStore.file=./src/test/resources/server.jks&amp;ftpClient.trustStore.password=password"</span>)
+<pre class="code-java">from(<span class="code-quote">"ftps:<span class="code-comment">//admin@localhost:2222/<span class="code-keyword">public</span>/camel?password=admin&amp;ftpClient.trustStore.file=./src/test/resources/server.jks&amp;ftpClient.trustStore.password=password"</span>)
 </span>  .to(<span class="code-quote">"bean:foo"</span>);
 </pre>
 </div></div>
@@ -25864,8 +25851,7 @@ from(<span class="code-quote">"ftps:<spa
 
 <p>And then we can configure our route using the <b>filter</b> attribute to reference our filter (using <tt>#</tt> notation) that we have defined in the spring XML file:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-   <span class="code-tag"><span class="code-comment">&lt;!-- define our sorter as a plain spring bean --&gt;</span></span>
+<pre class="code-xml">   <span class="code-tag"><span class="code-comment">&lt;!-- define our sorter as a plain spring bean --&gt;</span></span>
    <span class="code-tag">&lt;bean id=<span class="code-quote">"myFilter"</span> class=<span class="code-quote">"com.mycompany.MyFileFilter"</span>/&gt;</span>
 
   <span class="code-tag">&lt;route&gt;</span>
@@ -36597,6 +36583,56 @@ spring-integration:defaultChannelName[?o
 <h3><a shape="rect" name="BookInOnePage-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>
 
+<h2><a shape="rect" name="BookInOnePage-SpringLDAPComponent"></a>Spring LDAP Component</h2>
+
+<p>The <b>spring-ldap:</b> component provides a Camel wrapper for <a shape="rect" class="external-link" href="http://www.springsource.org/ldap" rel="nofollow">Spring LDAP</a>.</p>
+
+<p>Maven users will need to add the following dependency to their <tt>pom.xml</tt> for this component:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-xml">
+<span class="code-tag">&lt;dependency&gt;</span>
+    <span class="code-tag">&lt;groupId&gt;</span>org.apache.camel<span class="code-tag">&lt;/groupId&gt;</span>
+    <span class="code-tag">&lt;artifactId&gt;</span>camel-spring-ldap<span class="code-tag">&lt;/artifactId&gt;</span>
+    <span class="code-tag">&lt;version&gt;</span>x.x.x<span class="code-tag">&lt;/version&gt;</span>
+    <span class="code-tag"><span class="code-comment">&lt;!-- use the same version as your Camel core version --&gt;</span></span>
+<span class="code-tag">&lt;/dependency&gt;</span>
+</pre>
+</div></div>
+
+<h3><a shape="rect" name="BookInOnePage-URIformat"></a>URI format</h3>
+
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-java">
+spring-ldap:springLdapTemplate[?options]
+</pre>
+</div></div>
+<p>Where <b>springLdapTemplate</b> is the name of the <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ldap/site/apidocs/org/springframework/ldap/core/LdapTemplate.html" rel="nofollow">Spring LDAP Template bean</a>. In this bean, you configure the URL and the credentials for your LDAP access.</p>
+
+<h3><a shape="rect" name="BookInOnePage-Options"></a>Options</h3>
+<div class="confluenceTableSmall"><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"> Type </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>operation</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> String </td><td colspan="1" rowspan="1" class="confluenceTd"> The LDAP operation to be performed. Must be one of <tt>search</tt>, <tt>bind</tt>, or <tt>unbind</tt>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>scope</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> String </td><td colspan="1" rowspan="1" class="confluenceTd"> The scope of the search operation. Must be one of <tt>object</tt>, <tt>onelevel</tt>, or <tt>subtree</tt>, see also <a shape="rect" class="external-link" href="http://en.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol#Search_and_Compare" rel="nofollow">http
 ://en.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol#Search_and_Compare</a> </td></tr></tbody></table>
+</div>
+</div>
+<p>If an unsupported value is specified for some option, the component throws an <tt>UnsupportedOperationException</tt>.</p>
+
+<h3><a shape="rect" name="BookInOnePage-Usage"></a>Usage</h3>
+
+<p>The component supports producer endpoint only. An attempt to create a consumer endpoint will result in an <tt>UnsupportedOperationException</tt>.<br clear="none">
+The body of the message must be a map (an instance of <tt>java.util.Map</tt>). This map must contain at least an entry with the key <b><tt>dn</tt></b> that specifies the root node for the LDAP operation to be performed. Other entries of the map are operation-specific (see below).</p>
+
+<p>The body of the message remains unchanged for the <tt>bind</tt> and <tt>unbind</tt> operations. For the <tt>search</tt> operation, the body is set to the result of the search, see <a shape="rect" class="external-link" href="http://static.springsource.org/spring-ldap/site/apidocs/org/springframework/ldap/core/LdapTemplate.html#search%28java.lang.String,%20java.lang.String,%20int,%20org.springframework.ldap.core.AttributesMapper%29" rel="nofollow">http://static.springsource.org/spring-ldap/site/apidocs/org/springframework/ldap/core/LdapTemplate.html#search%28java.lang.String,%20java.lang.String,%20int,%20org.springframework.ldap.core.AttributesMapper%29</a>.</p>
+
+<h4><a shape="rect" name="BookInOnePage-Search"></a>Search</h4>
+
+<p>The message body must have an entry with the key <b><tt>filter</tt></b>. The value must be a String representing a valid LDAP filter, see <a shape="rect" class="external-link" href="http://en.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol#Search_and_Compare" rel="nofollow">http://en.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol#Search_and_Compare</a>.</p>
+
+<h4><a shape="rect" name="BookInOnePage-Bind"></a>Bind</h4>
+
+<p>The message body must have an entry with the key <b><tt>attributes</tt></b>. The value must be an instance of <a shape="rect" class="external-link" href="http://docs.oracle.com/javase/6/docs/api/javax/naming/directory/Attributes.html" rel="nofollow">javax.naming.directory.Attributes</a> This entry specifies the LDAP node to be created.</p>
+
+<h4><a shape="rect" name="BookInOnePage-Unbind"></a>Unbind</h4>
+
+<p>No further entries necessary, the node with the specified <b><tt>dn</tt></b> is deleted.</p>
 <h2><a shape="rect" name="BookInOnePage-SpringWebServicesComponent"></a>Spring Web Services Component</h2>
 
 <p><b>Available as of Camel 2.6</b></p>

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

Modified: websites/production/camel/content/ftp.html
==============================================================================
--- websites/production/camel/content/ftp.html (original)
+++ websites/production/camel/content/ftp.html Wed Feb 20 18:27:42 2013
@@ -81,8 +81,7 @@
 
 <p>Maven users will need to add the following dependency to their <tt>pom.xml</tt> for this component:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;dependency&gt;</span>
+<pre class="code-xml"><span class="code-tag">&lt;dependency&gt;</span>
     <span class="code-tag">&lt;groupId&gt;</span>org.apache.camel<span class="code-tag">&lt;/groupId&gt;</span>
     <span class="code-tag">&lt;artifactId&gt;</span>camel-ftp<span class="code-tag">&lt;/artifactId&gt;</span>
     <span class="code-tag">&lt;version&gt;</span>x.x.x<span class="code-tag">&lt;/version&gt;</span>
@@ -98,8 +97,7 @@
 <h3><a shape="rect" name="FTP-URIformat"></a>URI format</h3>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-ftp:<span class="code-comment">//[username@]hostname[:port]/directoryname[?options]
+<pre class="code-java">ftp:<span class="code-comment">//[username@]hostname[:port]/directoryname[?options]
 </span>sftp:<span class="code-comment">//[username@]hostname[:port]/directoryname[?options]
 </span>ftps:<span class="code-comment">//[username@]hostname[:port]/directoryname[?options]</span>
 </pre>
@@ -126,7 +124,7 @@ FTPS (also known as FTP Secure) is an ex
 <div class="confluenceTableSmall"><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"> Default Value </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </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 systen. </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>binary</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Speci
 fies the file transfer mode, BINARY or ASCII. Default is ASCII (<tt>false</tt>). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>disconnect</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.2:</b> Whether or not to disconnect from remote FTP server right after use. Can be used for both consumer and producer. Disconnect will only disconnect the current connection to the FTP server. If you have a consumer which you want to stop, then you need to stop the consumer/route instead. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>localWorkDirectory</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> When consuming, a local work directory can be used to store the remote file content directly in local files, to avoid loading the content into memory. This is beneficial, if you con
 sume a very big remote file and thus can conserve memory. See below for more details. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>passiveMode</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>FTP and FTPS only</b>: Specifies whether to use passive mode connections. Default is active mode (<tt>false</tt>). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>securityProtocol</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>TLS</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>FTPS only:</b> Sets the underlying security protocol. The following values are defined: <br clear="none" class="atl-forced-newline">
 <tt>TLS</tt>: Transport Layer Security <br clear="none" class="atl-forced-newline">
-<tt>SSL</tt>: Secure Sockets Layer </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>disableSecureDataChannelDefaults</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.4: FTPS only</b>: Whether or not to disable using default values for <tt>execPbsz</tt> and <tt>execProt</tt> when using secure data transfer. You can set this option to <tt>true</tt> if you want to be in absolute full control what the options <tt>execPbsz</tt> and <tt>execProt</tt> should be used. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>download</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11:</b> Whether the FTP consumer should download the file. If this option is set to <tt>false</tt>, then the message body will be <tt>null</tt>, but the consumer will still trigger a Camel <a shap
 e="rect" href="exchange.html" title="Exchange">Exchange</a> that has details about the file such as file name, file size, etc. It's just that the file will not be downloaded. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>execProt</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.4: FTPS only</b>: Will by default use option <tt>P</tt> if secure data channel defaults hasn't been disabled. Possible values are: <br clear="none" class="atl-forced-newline">
+<tt>SSL</tt>: Secure Sockets Layer </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>disableSecureDataChannelDefaults</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.4: FTPS only</b>: Whether or not to disable using default values for <tt>execPbsz</tt> and <tt>execProt</tt> when using secure data transfer. You can set this option to <tt>true</tt> if you want to be in absolute full control what the options <tt>execPbsz</tt> and <tt>execProt</tt> should be used. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>download</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11:</b> Whether the FTP consumer should download the file. If this option is set to <tt>false</tt>, then the message body will be <tt>null</tt>, but the consumer will still trigger a Camel <a shap
 e="rect" href="exchange.html" title="Exchange">Exchange</a> that has details about the file such as file name, file size, etc. It's just that the file will not be downloaded. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> streamDownload<br clear="none" class="atl-forced-newline"> </td><td colspan="1" rowspan="1" class="confluenceTd"> false </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11:</b>&#160;Whether the consumer should download the entire file up front, the default behavior, or if it should pass an InputStream&#160;read from the remote resource rather than an in-memory array as the in body of the&#160;Camel&#160;<a shape="rect" href="exchange.html" title="Exchange">Exchange</a>. &#160;This option is ignored if download&#160;is false&#160;or is localWorkDirectory is provided. &#160;This option is useful for working with large remote files. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>execProt</tt> </td><td cols
 pan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.4: FTPS only</b>: Will by default use option <tt>P</tt> if secure data channel defaults hasn't been disabled. Possible values are: <br clear="none" class="atl-forced-newline">
 <tt>C</tt>: Clear <br clear="none" class="atl-forced-newline">
 <tt>S</tt>: Safe (SSL protocol only) <br clear="none" class="atl-forced-newline">
 <tt>E</tt>: Confidential (SSL protocol only) <br clear="none" class="atl-forced-newline">
@@ -142,15 +140,13 @@ FTPS (also known as FTP Secure) is an ex
 
 <p>For example to set the <tt>setDataTimeout</tt> on the <tt>FTPClient</tt> to 30 seconds you can do:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-from(<span class="code-quote">"ftp:<span class="code-comment">//foo@myserver?password=secret&amp;ftpClient.dataTimeout=30000"</span>).to(<span class="code-quote">"bean:foo"</span>);</span>
+<pre class="code-java">from(<span class="code-quote">"ftp:<span class="code-comment">//foo@myserver?password=secret&amp;ftpClient.dataTimeout=30000"</span>).to(<span class="code-quote">"bean:foo"</span>);</span>
 </pre>
 </div></div>
 
 <p>You can mix and match and have use both prefixes, for example to configure date format or timezones.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-from(<span class="code-quote">"ftp:<span class="code-comment">//foo@myserver?password=secret&amp;ftpClient.dataTimeout=30000&amp;ftpClientConfig.serverLanguageCode=fr"</span>).to(<span class="code-quote">"bean:foo"</span>);</span>
+<pre class="code-java">from(<span class="code-quote">"ftp:<span class="code-comment">//foo@myserver?password=secret&amp;ftpClient.dataTimeout=30000&amp;ftpClientConfig.serverLanguageCode=fr"</span>).to(<span class="code-quote">"bean:foo"</span>);</span>
 </pre>
 </div></div>
 
@@ -163,8 +159,7 @@ And as well for <a shape="rect" class="e
 
 <p>For example:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-   &lt;bean id=<span class="code-quote">"myConfig"</span> class=<span class="code-quote">"org.apache.commons.net.ftp.FTPClientConfig"</span>&gt;
+<pre class="code-java">   &lt;bean id=<span class="code-quote">"myConfig"</span> class=<span class="code-quote">"org.apache.commons.net.ftp.FTPClientConfig"</span>&gt;
        &lt;property name=<span class="code-quote">"lenientFutureDates"</span> value=<span class="code-quote">"<span class="code-keyword">true</span>"</span>/&gt;
        &lt;property name=<span class="code-quote">"serverLanguageCode"</span> value=<span class="code-quote">"fr"</span>/&gt;
    &lt;/bean&gt;
@@ -173,8 +168,7 @@ And as well for <a shape="rect" class="e
 
 <p>And then let Camel lookup this bean when you use the # notation in the url.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-from(<span class="code-quote">"ftp:<span class="code-comment">//foo@myserver?password=secret&amp;ftpClientConfig=#myConfig"</span>).to(<span class="code-quote">"bean:foo"</span>);</span>
+<pre class="code-java">from(<span class="code-quote">"ftp:<span class="code-comment">//foo@myserver?password=secret&amp;ftpClientConfig=#myConfig"</span>).to(<span class="code-quote">"bean:foo"</span>);</span>
 </pre>
 </div></div>
 
@@ -231,8 +225,7 @@ There are other solutions to avoid consu
 
 <p>So if you want to download files from a remote FTP server and store it as files then you need to route to a file endpoint such as:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-from(<span class="code-quote">"ftp:<span class="code-comment">//someone@someserver.com?password=secret&amp;localWorkDirectory=/tmp"</span>).to(<span class="code-quote">"file://inbox"</span>);</span>
+<pre class="code-java">from(<span class="code-quote">"ftp:<span class="code-comment">//someone@someserver.com?password=secret&amp;localWorkDirectory=/tmp"</span>).to(<span class="code-quote">"file://inbox"</span>);</span>
 </pre>
 </div></div>
 
@@ -256,8 +249,7 @@ from(<span class="code-quote">"ftp:<span
 
 <p>The difference between the two of them is best illustrated with an example. Suppose we have the following directory structure on the remote FTP server we need to traverse and download files:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-/
+<pre class="code-java">/
 /one
 /one/two
 /one/two/sub-a
@@ -269,8 +261,7 @@ from(<span class="code-quote">"ftp:<span
 
 <h4><a shape="rect" name="FTP-Usingstepwise%3Dtrue%28defaultmode%29"></a>Using stepwise=true (default mode)</h4>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-TYPE A
+<pre class="code-java">TYPE A
 200 Type set to A
 PWD
 257 <span class="code-quote">"/"</span> is current directory.
@@ -358,8 +349,7 @@ disconnected.
 
 <h4><a shape="rect" name="FTP-Usingstepwise%3Dfalse"></a>Using stepwise=false</h4>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-230 Logged on
+<pre class="code-java">230 Logged on
 TYPE A
 200 Type set to A
 SYST
@@ -429,8 +419,7 @@ disconnected.
 
 <p>And the route using Spring DSL:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-  <span class="code-tag">&lt;route&gt;</span>
+<pre class="code-xml">  <span class="code-tag">&lt;route&gt;</span>
      <span class="code-tag">&lt;from uri=<span class="code-quote">"ftp://scott@localhost/public/reports?password=tiger&amp;amp;binary=true&amp;amp;delay=60000"</span>/&gt;</span>
      <span class="code-tag">&lt;to uri=<span class="code-quote">"file://target/test-reports"</span>/&gt;</span>
   <span class="code-tag">&lt;/route&gt;</span>
@@ -439,8 +428,7 @@ disconnected.
 
 <h4><a shape="rect" name="FTP-ConsumingaremoteFTPSserver%28implicitSSL%29andclientauthentication"></a>Consuming a remote FTPS server (implicit SSL) and client authentication</h4>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-from("ftps:<span class="code-comment">//admin@localhost:2222/<span class="code-keyword">public</span>/camel?password=admin&amp;securityProtocol=SSL&amp;isImplicit=<span class="code-keyword">true</span>
+<pre class="code-java">from("ftps:<span class="code-comment">//admin@localhost:2222/<span class="code-keyword">public</span>/camel?password=admin&amp;securityProtocol=SSL&amp;isImplicit=<span class="code-keyword">true</span>
 </span>      &amp;ftpClient.keyStore.file=./src/test/resources/server.jks
       &amp;ftpClient.keyStore.password=password&amp;ftpClient.keyStore.keyPassword=password")
   .to(<span class="code-quote">"bean:foo"</span>);
@@ -449,8 +437,7 @@ from("ftps:<span class="code-comment">//
 
 <h4><a shape="rect" name="FTP-ConsumingaremoteFTPSserver%28explicitTLS%29andacustomtruststoreconfiguration"></a>Consuming a remote FTPS server (explicit TLS) and a custom trust store configuration</h4>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-from(<span class="code-quote">"ftps:<span class="code-comment">//admin@localhost:2222/<span class="code-keyword">public</span>/camel?password=admin&amp;ftpClient.trustStore.file=./src/test/resources/server.jks&amp;ftpClient.trustStore.password=password"</span>)
+<pre class="code-java">from(<span class="code-quote">"ftps:<span class="code-comment">//admin@localhost:2222/<span class="code-keyword">public</span>/camel?password=admin&amp;ftpClient.trustStore.file=./src/test/resources/server.jks&amp;ftpClient.trustStore.password=password"</span>)
 </span>  .to(<span class="code-quote">"bean:foo"</span>);
 </pre>
 </div></div>
@@ -473,8 +460,7 @@ from(<span class="code-quote">"ftps:<spa
 
 <p>And then we can configure our route using the <b>filter</b> attribute to reference our filter (using <tt>#</tt> notation) that we have defined in the spring XML file:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-   <span class="code-tag"><span class="code-comment">&lt;!-- define our sorter as a plain spring bean --&gt;</span></span>
+<pre class="code-xml">   <span class="code-tag"><span class="code-comment">&lt;!-- define our sorter as a plain spring bean --&gt;</span></span>
    <span class="code-tag">&lt;bean id=<span class="code-quote">"myFilter"</span> class=<span class="code-quote">"com.mycompany.MyFileFilter"</span>/&gt;</span>
 
   <span class="code-tag">&lt;route&gt;</span>

Modified: websites/production/camel/content/ftp2.html
==============================================================================
--- websites/production/camel/content/ftp2.html (original)
+++ websites/production/camel/content/ftp2.html Wed Feb 20 18:27:42 2013
@@ -81,8 +81,7 @@
 
 <p>Maven users will need to add the following dependency to their <tt>pom.xml</tt> for this component:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;dependency&gt;</span>
+<pre class="code-xml"><span class="code-tag">&lt;dependency&gt;</span>
     <span class="code-tag">&lt;groupId&gt;</span>org.apache.camel<span class="code-tag">&lt;/groupId&gt;</span>
     <span class="code-tag">&lt;artifactId&gt;</span>camel-ftp<span class="code-tag">&lt;/artifactId&gt;</span>
     <span class="code-tag">&lt;version&gt;</span>x.x.x<span class="code-tag">&lt;/version&gt;</span>
@@ -98,8 +97,7 @@
 <h3><a shape="rect" name="FTP2-URIformat"></a>URI format</h3>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-ftp:<span class="code-comment">//[username@]hostname[:port]/directoryname[?options]
+<pre class="code-java">ftp:<span class="code-comment">//[username@]hostname[:port]/directoryname[?options]
 </span>sftp:<span class="code-comment">//[username@]hostname[:port]/directoryname[?options]
 </span>ftps:<span class="code-comment">//[username@]hostname[:port]/directoryname[?options]</span>
 </pre>
@@ -126,7 +124,7 @@ FTPS (also known as FTP Secure) is an ex
 <div class="confluenceTableSmall"><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"> Default Value </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </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 systen. </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>binary</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Speci
 fies the file transfer mode, BINARY or ASCII. Default is ASCII (<tt>false</tt>). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>disconnect</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.2:</b> Whether or not to disconnect from remote FTP server right after use. Can be used for both consumer and producer. Disconnect will only disconnect the current connection to the FTP server. If you have a consumer which you want to stop, then you need to stop the consumer/route instead. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>localWorkDirectory</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> When consuming, a local work directory can be used to store the remote file content directly in local files, to avoid loading the content into memory. This is beneficial, if you con
 sume a very big remote file and thus can conserve memory. See below for more details. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>passiveMode</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>FTP and FTPS only</b>: Specifies whether to use passive mode connections. Default is active mode (<tt>false</tt>). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>securityProtocol</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>TLS</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>FTPS only:</b> Sets the underlying security protocol. The following values are defined: <br clear="none" class="atl-forced-newline">
 <tt>TLS</tt>: Transport Layer Security <br clear="none" class="atl-forced-newline">
-<tt>SSL</tt>: Secure Sockets Layer </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>disableSecureDataChannelDefaults</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.4: FTPS only</b>: Whether or not to disable using default values for <tt>execPbsz</tt> and <tt>execProt</tt> when using secure data transfer. You can set this option to <tt>true</tt> if you want to be in absolute full control what the options <tt>execPbsz</tt> and <tt>execProt</tt> should be used. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>download</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11:</b> Whether the FTP consumer should download the file. If this option is set to <tt>false</tt>, then the message body will be <tt>null</tt>, but the consumer will still trigger a Camel <a shap
 e="rect" href="exchange.html" title="Exchange">Exchange</a> that has details about the file such as file name, file size, etc. It's just that the file will not be downloaded. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>execProt</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.4: FTPS only</b>: Will by default use option <tt>P</tt> if secure data channel defaults hasn't been disabled. Possible values are: <br clear="none" class="atl-forced-newline">
+<tt>SSL</tt>: Secure Sockets Layer </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>disableSecureDataChannelDefaults</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.4: FTPS only</b>: Whether or not to disable using default values for <tt>execPbsz</tt> and <tt>execProt</tt> when using secure data transfer. You can set this option to <tt>true</tt> if you want to be in absolute full control what the options <tt>execPbsz</tt> and <tt>execProt</tt> should be used. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>download</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11:</b> Whether the FTP consumer should download the file. If this option is set to <tt>false</tt>, then the message body will be <tt>null</tt>, but the consumer will still trigger a Camel <a shap
 e="rect" href="exchange.html" title="Exchange">Exchange</a> that has details about the file such as file name, file size, etc. It's just that the file will not be downloaded. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> streamDownload<br clear="none" class="atl-forced-newline"> </td><td colspan="1" rowspan="1" class="confluenceTd"> false </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.11:</b>&#160;Whether the consumer should download the entire file up front, the default behavior, or if it should pass an InputStream&#160;read from the remote resource rather than an in-memory array as the in body of the&#160;Camel&#160;<a shape="rect" href="exchange.html" title="Exchange">Exchange</a>. &#160;This option is ignored if download&#160;is false&#160;or is localWorkDirectory is provided. &#160;This option is useful for working with large remote files. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>execProt</tt> </td><td cols
 pan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.4: FTPS only</b>: Will by default use option <tt>P</tt> if secure data channel defaults hasn't been disabled. Possible values are: <br clear="none" class="atl-forced-newline">
 <tt>C</tt>: Clear <br clear="none" class="atl-forced-newline">
 <tt>S</tt>: Safe (SSL protocol only) <br clear="none" class="atl-forced-newline">
 <tt>E</tt>: Confidential (SSL protocol only) <br clear="none" class="atl-forced-newline">
@@ -142,15 +140,13 @@ FTPS (also known as FTP Secure) is an ex
 
 <p>For example to set the <tt>setDataTimeout</tt> on the <tt>FTPClient</tt> to 30 seconds you can do:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-from(<span class="code-quote">"ftp:<span class="code-comment">//foo@myserver?password=secret&amp;ftpClient.dataTimeout=30000"</span>).to(<span class="code-quote">"bean:foo"</span>);</span>
+<pre class="code-java">from(<span class="code-quote">"ftp:<span class="code-comment">//foo@myserver?password=secret&amp;ftpClient.dataTimeout=30000"</span>).to(<span class="code-quote">"bean:foo"</span>);</span>
 </pre>
 </div></div>
 
 <p>You can mix and match and have use both prefixes, for example to configure date format or timezones.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-from(<span class="code-quote">"ftp:<span class="code-comment">//foo@myserver?password=secret&amp;ftpClient.dataTimeout=30000&amp;ftpClientConfig.serverLanguageCode=fr"</span>).to(<span class="code-quote">"bean:foo"</span>);</span>
+<pre class="code-java">from(<span class="code-quote">"ftp:<span class="code-comment">//foo@myserver?password=secret&amp;ftpClient.dataTimeout=30000&amp;ftpClientConfig.serverLanguageCode=fr"</span>).to(<span class="code-quote">"bean:foo"</span>);</span>
 </pre>
 </div></div>
 
@@ -163,8 +159,7 @@ And as well for <a shape="rect" class="e
 
 <p>For example:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-   &lt;bean id=<span class="code-quote">"myConfig"</span> class=<span class="code-quote">"org.apache.commons.net.ftp.FTPClientConfig"</span>&gt;
+<pre class="code-java">   &lt;bean id=<span class="code-quote">"myConfig"</span> class=<span class="code-quote">"org.apache.commons.net.ftp.FTPClientConfig"</span>&gt;
        &lt;property name=<span class="code-quote">"lenientFutureDates"</span> value=<span class="code-quote">"<span class="code-keyword">true</span>"</span>/&gt;
        &lt;property name=<span class="code-quote">"serverLanguageCode"</span> value=<span class="code-quote">"fr"</span>/&gt;
    &lt;/bean&gt;
@@ -173,8 +168,7 @@ And as well for <a shape="rect" class="e
 
 <p>And then let Camel lookup this bean when you use the # notation in the url.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-from(<span class="code-quote">"ftp:<span class="code-comment">//foo@myserver?password=secret&amp;ftpClientConfig=#myConfig"</span>).to(<span class="code-quote">"bean:foo"</span>);</span>
+<pre class="code-java">from(<span class="code-quote">"ftp:<span class="code-comment">//foo@myserver?password=secret&amp;ftpClientConfig=#myConfig"</span>).to(<span class="code-quote">"bean:foo"</span>);</span>
 </pre>
 </div></div>
 
@@ -231,8 +225,7 @@ There are other solutions to avoid consu
 
 <p>So if you want to download files from a remote FTP server and store it as files then you need to route to a file endpoint such as:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-from(<span class="code-quote">"ftp:<span class="code-comment">//someone@someserver.com?password=secret&amp;localWorkDirectory=/tmp"</span>).to(<span class="code-quote">"file://inbox"</span>);</span>
+<pre class="code-java">from(<span class="code-quote">"ftp:<span class="code-comment">//someone@someserver.com?password=secret&amp;localWorkDirectory=/tmp"</span>).to(<span class="code-quote">"file://inbox"</span>);</span>
 </pre>
 </div></div>
 
@@ -256,8 +249,7 @@ from(<span class="code-quote">"ftp:<span
 
 <p>The difference between the two of them is best illustrated with an example. Suppose we have the following directory structure on the remote FTP server we need to traverse and download files:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-/
+<pre class="code-java">/
 /one
 /one/two
 /one/two/sub-a
@@ -269,8 +261,7 @@ from(<span class="code-quote">"ftp:<span
 
 <h4><a shape="rect" name="FTP2-Usingstepwise%3Dtrue%28defaultmode%29"></a>Using stepwise=true (default mode)</h4>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-TYPE A
+<pre class="code-java">TYPE A
 200 Type set to A
 PWD
 257 <span class="code-quote">"/"</span> is current directory.
@@ -358,8 +349,7 @@ disconnected.
 
 <h4><a shape="rect" name="FTP2-Usingstepwise%3Dfalse"></a>Using stepwise=false</h4>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-230 Logged on
+<pre class="code-java">230 Logged on
 TYPE A
 200 Type set to A
 SYST
@@ -429,8 +419,7 @@ disconnected.
 
 <p>And the route using Spring DSL:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-  <span class="code-tag">&lt;route&gt;</span>
+<pre class="code-xml">  <span class="code-tag">&lt;route&gt;</span>
      <span class="code-tag">&lt;from uri=<span class="code-quote">"ftp://scott@localhost/public/reports?password=tiger&amp;amp;binary=true&amp;amp;delay=60000"</span>/&gt;</span>
      <span class="code-tag">&lt;to uri=<span class="code-quote">"file://target/test-reports"</span>/&gt;</span>
   <span class="code-tag">&lt;/route&gt;</span>
@@ -439,8 +428,7 @@ disconnected.
 
 <h4><a shape="rect" name="FTP2-ConsumingaremoteFTPSserver%28implicitSSL%29andclientauthentication"></a>Consuming a remote FTPS server (implicit SSL) and client authentication</h4>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-from("ftps:<span class="code-comment">//admin@localhost:2222/<span class="code-keyword">public</span>/camel?password=admin&amp;securityProtocol=SSL&amp;isImplicit=<span class="code-keyword">true</span>
+<pre class="code-java">from("ftps:<span class="code-comment">//admin@localhost:2222/<span class="code-keyword">public</span>/camel?password=admin&amp;securityProtocol=SSL&amp;isImplicit=<span class="code-keyword">true</span>
 </span>      &amp;ftpClient.keyStore.file=./src/test/resources/server.jks
       &amp;ftpClient.keyStore.password=password&amp;ftpClient.keyStore.keyPassword=password")
   .to(<span class="code-quote">"bean:foo"</span>);
@@ -449,8 +437,7 @@ from("ftps:<span class="code-comment">//
 
 <h4><a shape="rect" name="FTP2-ConsumingaremoteFTPSserver%28explicitTLS%29andacustomtruststoreconfiguration"></a>Consuming a remote FTPS server (explicit TLS) and a custom trust store configuration</h4>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-from(<span class="code-quote">"ftps:<span class="code-comment">//admin@localhost:2222/<span class="code-keyword">public</span>/camel?password=admin&amp;ftpClient.trustStore.file=./src/test/resources/server.jks&amp;ftpClient.trustStore.password=password"</span>)
+<pre class="code-java">from(<span class="code-quote">"ftps:<span class="code-comment">//admin@localhost:2222/<span class="code-keyword">public</span>/camel?password=admin&amp;ftpClient.trustStore.file=./src/test/resources/server.jks&amp;ftpClient.trustStore.password=password"</span>)
 </span>  .to(<span class="code-quote">"bean:foo"</span>);
 </pre>
 </div></div>
@@ -473,8 +460,7 @@ from(<span class="code-quote">"ftps:<spa
 
 <p>And then we can configure our route using the <b>filter</b> attribute to reference our filter (using <tt>#</tt> notation) that we have defined in the spring XML file:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-   <span class="code-tag"><span class="code-comment">&lt;!-- define our sorter as a plain spring bean --&gt;</span></span>
+<pre class="code-xml">   <span class="code-tag"><span class="code-comment">&lt;!-- define our sorter as a plain spring bean --&gt;</span></span>
    <span class="code-tag">&lt;bean id=<span class="code-quote">"myFilter"</span> class=<span class="code-quote">"com.mycompany.MyFileFilter"</span>/&gt;</span>
 
   <span class="code-tag">&lt;route&gt;</span>



Mime
View raw message