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 2013/05/18 10:22:42 UTC
svn commit: r862324 - in /websites/production/camel/content:
book-component-appendix.html book-in-one-page.html cache/main.pageCache
file2.html
Author: buildbot
Date: Sat May 18 08:22:42 2013
New Revision: 862324
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/file2.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 Sat May 18 08:22:42 2013
@@ -3663,7 +3663,11 @@ Notice from <b>Camel 2.10</b> onwards th
</div></div>
<p>When a file is dropped in the <tt>inbox</tt> folder, the file consumer notices this and creates a new <tt>FileExchange</tt> that is routed to the <tt>handleOrder</tt> bean. The bean then processes the <tt>File</tt> object. At this point in time the file is still located in the <tt>inbox</tt> folder. After the bean completes, and thus the route is completed, the file consumer will perform the move operation and move the file to the <tt>.done</tt> sub-folder.</p>
-<p>The <b>move</b> and <b>preMove</b> options should be a directory name, which can be either relative or absolute. If relative, the directory is created as a sub-folder from within the folder where the file was consumed.</p>
+<p>The <b>move</b> and <b>preMove</b> options is considered as a directory name (though if you use an expression such as <a shape="rect" href="file-language.html" title="File Language">File Language</a>, or <a shape="rect" href="simple.html" title="Simple">Simple</a> then the result of the expression evaluation is the file name to be used - eg if you set </p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-java">move=../backup/copy-of-${file:name}</pre>
+</div></div>
+<p> then that's using the <a shape="rect" href="file-language.html" title="File Language">File Language</a> which we use return the file name to be used), which can be either relative or absolute. If relative, the directory is created as a sub-folder from within the folder where the file was consumed.</p>
<p>By default, Camel will move consumed files to the <tt>.camel</tt> sub-folder relative to the directory where the file was consumed.</p>
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 Sat May 18 08:22:42 2013
@@ -24678,7 +24678,11 @@ Notice from <b>Camel 2.10</b> onwards th
</div></div>
<p>When a file is dropped in the <tt>inbox</tt> folder, the file consumer notices this and creates a new <tt>FileExchange</tt> that is routed to the <tt>handleOrder</tt> bean. The bean then processes the <tt>File</tt> object. At this point in time the file is still located in the <tt>inbox</tt> folder. After the bean completes, and thus the route is completed, the file consumer will perform the move operation and move the file to the <tt>.done</tt> sub-folder.</p>
-<p>The <b>move</b> and <b>preMove</b> options should be a directory name, which can be either relative or absolute. If relative, the directory is created as a sub-folder from within the folder where the file was consumed.</p>
+<p>The <b>move</b> and <b>preMove</b> options is considered as a directory name (though if you use an expression such as <a shape="rect" href="file-language.html" title="File Language">File Language</a>, or <a shape="rect" href="simple.html" title="Simple">Simple</a> then the result of the expression evaluation is the file name to be used - eg if you set </p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-java">move=../backup/copy-of-${file:name}</pre>
+</div></div>
+<p> then that's using the <a shape="rect" href="file-language.html" title="File Language">File Language</a> which we use return the file name to be used), which can be either relative or absolute. If relative, the directory is created as a sub-folder from within the folder where the file was consumed.</p>
<p>By default, Camel will move consumed files to the <tt>.camel</tt> sub-folder relative to the directory where the file was consumed.</p>
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/camel/content/file2.html
==============================================================================
--- websites/production/camel/content/file2.html (original)
+++ websites/production/camel/content/file2.html Sat May 18 08:22:42 2013
@@ -153,7 +153,11 @@ Notice from <b>Camel 2.10</b> onwards th
</div></div>
<p>When a file is dropped in the <tt>inbox</tt> folder, the file consumer notices this and creates a new <tt>FileExchange</tt> that is routed to the <tt>handleOrder</tt> bean. The bean then processes the <tt>File</tt> object. At this point in time the file is still located in the <tt>inbox</tt> folder. After the bean completes, and thus the route is completed, the file consumer will perform the move operation and move the file to the <tt>.done</tt> sub-folder.</p>
-<p>The <b>move</b> and <b>preMove</b> options should be a directory name, which can be either relative or absolute. If relative, the directory is created as a sub-folder from within the folder where the file was consumed.</p>
+<p>The <b>move</b> and <b>preMove</b> options is considered as a directory name (though if you use an expression such as <a shape="rect" href="file-language.html" title="File Language">File Language</a>, or <a shape="rect" href="simple.html" title="Simple">Simple</a> then the result of the expression evaluation is the file name to be used - eg if you set </p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-java">move=../backup/copy-of-${file:name}</pre>
+</div></div>
+<p> then that's using the <a shape="rect" href="file-language.html" title="File Language">File Language</a> which we use return the file name to be used), which can be either relative or absolute. If relative, the directory is created as a sub-folder from within the folder where the file was consumed.</p>
<p>By default, Camel will move consumed files to the <tt>.camel</tt> sub-folder relative to the directory where the file was consumed.</p>