Author: buildbot
Date: Mon May 18 02:18:36 2015
New Revision: 951669
Log:
Production update by buildbot for camel
Modified:
websites/production/camel/content/cache/main.pageCache
websites/production/camel/content/dropbox.html
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/camel/content/dropbox.html
==============================================================================
--- websites/production/camel/content/dropbox.html (original)
+++ websites/production/camel/content/dropbox.html Mon May 18 02:18:36 2015
@@ -96,45 +96,7 @@
</div></div><h3 id="Dropbox-URIformat">URI format</h3><div class="code panel
pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
<script class="theme: Default; brush: java; gutter: false"
type="syntaxhighlighter"><![CDATA[dropbox://[operation]?[options]
]]></script>
-</div></div><p>Where <strong>operation</strong> is the specific action
(typically is a CRUD action) to perform on Dropbox remote folder.</p><h3
id="Dropbox-Operation">Operation </h3><div class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Operation </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Description
</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>del</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
deletes files or directories on Dropbox</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>get</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> download files from Dropbox
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>move</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> move files from folders on Dropbox
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>put</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
upload files on Dropbox </p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"
><p> <code>search</code> </p></td><td colspan="1" rowspan="1"
>class="confluenceTd"><p> search files on Dropbox based on string queries
></p></td></tr></tbody></table></div>
-</div><p><strong>Operations</strong> require additional options to work, some
are mandatory for the specific operation.</p><h3
id="Dropbox-Options">Options</h3><p>In order to work with Dropbox API you need
to obtain an <strong>accessToken</strong> and a
<strong>clientIdentifier.</strong><br clear="none">You can refer to the <a
shape="rect" class="external-link"
href="https://www.dropbox.com/developers/core/start/java"
rel="nofollow">Dropbox documentation</a> that expalins how to get
them. <span style="line-height: 1.4285715;"> </span></p><p>Below are
listed the mandatory options for all operations:</p><p> </p><div
class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Property </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Mandatory </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Description
</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>accessToken</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> The access token to make API requests for a specific
Dropbox user </p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>clientIdentifier</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> Name of the app registered to make API
requests </p></td></tr></tbody></table></div>
-</div><h3 id="Dropbox-Deloperation">Del operation</h3><p>Delete files on
Dropbox.</p><p>Works only as Camel producer.</p><p>Below are listed the options
for this operation:</p><div class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Property </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Mandatory </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Description
</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>remotePath</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> Folder or file to delete on Dropbox
</p></td></tr></tbody></table></div>
-</div><h4
id="Dropbox-Samples">Samples</h4><p>from("direct:start").to("dropbox://del?accessToken=XXX&clientIdentifier=XXX&remotePath=/root/folder1").to("mock:result");</p><p>from("direct:start").to("dropbox://del?accessToken=XXX&clientIdentifier=XXX&remotePath=/root/folder1/file1.tar.gz").to("mock:result");</p><h4
id="Dropbox-ResultMessageHeaders">Result Message Headers</h4><p>The following
headers are set on message result:</p><div class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Property </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Value </p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>DELETED_PATH</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> name of the path
deleted on dropbox </p></td></tr></tbody></table></div>
-</div><h4 id="Dropbox-ResultMessageBody"><span style="line-height:
1.5;">Result Message Body</span></h4><p>The following objects are set on
message body result:</p><div class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Object type </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Description
</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>String</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> name of the path deleted on dropbox
</p></td></tr></tbody></table></div>
-</div><h3 id="Dropbox-Get(download)operation">Get (download)
operation</h3><p>Download files from Dropbox.</p><p>Works as Camel producer or
Camel consumer.</p><p>Below are listed the options for this operation:</p><div
class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Property </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Mandatory </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Description
</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>remotePath</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> Folder or file to download from Dropbox
</p></td></tr></tbody></table></div>
-</div><h4
id="Dropbox-Samples.1">Samples</h4><p>from("direct:start").to("dropbox://get?accessToken=XXX&clientIdentifier=XXX&remotePath=/root/folder1/file1.tar.gz").to("file:///home/kermit/?fileName=file1.tar.gz");</p><p>from("direct:start").to("dropbox://get?accessToken=XXX&clientIdentifier=XXX&remotePath=/root/folder1").to("mock:result");</p><p>from("dropbox://get?accessToken=XXX&clientIdentifier=XXX&remotePath=/root/folder1").to("file:///home/kermit/");</p><h4
id="Dropbox-ResultMessageHeaders.1">Result Message Headers</h4><p>The
following headers are set on message result:</p><div
class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Property </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Value </p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>DOWNLOADED_FILE</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> in case of single
file download, path of the remote file downloaded </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>DOWNLOADED_FILES</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> in case of
multiple files download, path of the remote files downloaded
</p></td></tr></tbody></table></div>
-</div><h4 id="Dropbox-ResultMessageBody.1"><span>Result Message
Body</span></h4><p>The following objects are set on message body
result:</p><div class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Object type </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Description
</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>ByteArrayOutputStream</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> in case of single file download, stream representing
the file downloaded </p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>Map<String, ByteArrayOutputStream></code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> in case of
multiple files download, a map with as key the path of the remote file
downloaded and as value the stream representing the file downloaded
</p></td></tr></tbody></table></div>
-</div><h3 id="Dropbox-Moveoperation">Move operation</h3><p>Move files on
Dropbox between one folder to another.</p><p>Works only as Camel
producer.</p><p>Below are listed the options for this operation:</p><div
class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Property </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Mandatory </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Description
</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>remotePath</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> Original file or folder to move </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>newRemotePath</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Destination file
or folder </p></td></tr></tbody></table></div>
-</div><h4
id="Dropbox-Samples.2">Samples</h4><p>from("direct:start").to("dropbox://move?accessToken=XXX&clientIdentifier=XXX&remotePath=/root/folder1&newRemotePath=/root/folder2").to("mock:result");</p><h4
id="Dropbox-ResultMessageHeaders.2">Result Message Headers</h4><p>The
following headers are set on message result:</p><div
class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Property </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Value </p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>MOVED_PATH</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> name of the path
moved on dropbox </p></td></tr></tbody></table></div>
-</div><h4 id="Dropbox-ResultMessageBody.2"><span>Result Message
Body</span></h4><p>The following objects are set on message body
result:</p><div class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Object type </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Description
</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>String</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> name of the path moved on dropbox
</p></td></tr></tbody></table></div>
-</div><h3 id="Dropbox-Put(upload)operation">Put (upload)
operation</h3><p>Upload files on Dropbox.</p><p>Works as Camel
producer.</p><p>Below are listed the options for this operation:</p><div
class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Property </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Mandatory </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Description
</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>uploadMode</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> add or force this option specifies how a file should
be saved on dropbox:<br clear="none">
-in case of "add" the new file will be renamed if a file with the same name
already exists on dropbox.<br clear="none">
-in case of "force" if a file with the same name already exists on dropbox,
this will be overwritten.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>localPath</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> Folder or file to upload on Dropbox from
the local filesystem .</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>remotePath</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>false</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> Folder destination on Dropbox.
If the property is not set, the component will upload the file on a remote path
equal to the local path. </p></td></tr></tbody></table></div>
-</div><h4
id="Dropbox-Samples.3">Samples</h4><p>from("direct:start").to("dropbox://put?accessToken=XXX&clientIdentifier=XXX&uploadMode=add&localPath=/root/folder1").to("mock:result");</p><p>from("direct:start").to("dropbox://put?accessToken=XXX&clientIdentifier=XXX&uploadMode=add&localPath=/root/folder1&remotePath=/root/folder2").to("mock:result");</p><h4
id="Dropbox-ResultMessageHeaders.3">Result Message Headers</h4><p>The
following headers are set on message result:</p><div
class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Property </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Value </p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>UPLOADED_FILE</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> in case of single
file upload, path of the remote path uploaded </p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>UPLOADED_FILES</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> in case of multiple files
upload, string with the remote paths uploaded
</p></td></tr></tbody></table></div>
-</div><h4 id="Dropbox-ResultMessageBody.3">Result Message Body</h4><p>The
following objects are set on message body result:</p><div
class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Object type </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Description
</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>String</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> in case of single file upload, result of the upload
operation, OK or KO </p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>Map<String, DropboxResultCode></code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> in case of
multiple files upload, a map with as key the path of the remote file uploaded
and as value the result of the upload operation, OK or KO
</p></td></tr></tbody></table></div>
-</div><h3 id="Dropbox-Searchoperation">Search operation</h3><p>Search inside a
remote Dropbox folder including its sub directories.</p><p>Works as Camel
producer and as Camel consumer.</p><p>Below are listed the options for this
operation:</p><div class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Property </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Mandatory </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Description
</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>remotePath</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>true</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> Folder on Dropbox where to search in.
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>query</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>false</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> A space-separated list of substrings to
search for. A file matches only if it contains all the substrings. If this
option is not set, all files will be matched.
</p></td></tr></tbody></table></div>
-</div><h4
id="Dropbox-Samples.4">Samples</h4><p>from("dropbox://search?accessToken=XXX&clientIdentifier=XXX&remotePath=/XXX&query=XXX").to("mock:result");</p><p>from("direct:start").to("dropbox://search?accessToken=XXX&clientIdentifier=XXX&remotePath=/XXX").to("mock:result");</p><h4
id="Dropbox-ResultMessageHeaders.4">Result Message Headers</h4><p>The
following headers are set on message result:</p><div
class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Property </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Value </p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>FOUNDED_FILES</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> list of file path
founded </p></td></tr></tbody></table></div>
-</div><h4 id="Dropbox-ResultMessageBody.4">Result Message Body</h4><p>The
following objects are set on message body result:</p><div
class="confluenceTableSmall">
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p> Object type </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Description
</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>List<DbxEntry></code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> list of file path founded. For more information on
this object refer to Dropbox documentation, </p>
-<a shape="rect" class="external-link"
href="http://dropbox.github.io/dropbox-sdk-java/api-docs/v1.7.x/com/dropbox/core/DbxEntry.html"
rel="nofollow">http://dropbox.github.io/dropbox-sdk-java/api-docs/v1.7.x/com/dropbox/core/DbxEntry.html</a>
-<p></p></td></tr></tbody></table></div>
-</div></div>
+</div></div><p>Where <strong>operation</strong> is the specific action
(typically is a CRUD action) to perform on Dropbox remote folder.</p><h3
id="Dropbox-Operations">Operations</h3><div class="confluenceTableSmall"><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1"
rowspan="1" class="confluenceTh"><p>Operation</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>del</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>deletes files or directories on
Dropbox</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>get</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>download files from Dropbox</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>move</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>move files from folders on
Dropbox</p></td></tr><tr><td colspan="1" rowsp
an="1" class="confluenceTd"><p><code>put</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>upload files on
Dropbox</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>search</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>search files on Dropbox based on string
queries</p></td></tr></tbody></table></div></div><p><strong>Operations</strong>
require additional options to work, some are mandatory for the specific
operation.</p><h3 id="Dropbox-Options">Options</h3><p>In order to work with
Dropbox API you need to obtain an <strong>accessToken</strong> and a
<strong>clientIdentifier.</strong><br clear="none">You can refer to the <a
shape="rect" class="external-link"
href="https://www.dropbox.com/developers/core/start/java"
rel="nofollow">Dropbox documentation</a> that expalins how to get
them. <span style="line-height: 1.4285715;"> </span></p><p>Below are
listed the mandatory options for all operations:</p><p> 
</p><div class="confluenceTableSmall"><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>Property</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Mandatory</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>accessToken</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The access token to make API
requests for a specific Dropbox user</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>clientIdentifier</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Name of the app registered to
make API requests</p></td></tr></tbody></table></div></div><h3
id="Dropbox-Deloperation">Del operation</h3><p>Delete files on
Dropbox.</p><p>Works only as Camel producer.</p><p>Below are listed the
options for this operation:</p><div class="confluenceTableSmall"><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1"
rowspan="1" class="confluenceTh"><p>Property</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Mandatory</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1"
class="confluenceTd"><p><code>remotePath</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Folder or file to delete on
Dropbox</p></td></tr></tbody></table></div></div><h4
id="Dropbox-Samples">Samples</h4><p>from("direct:start").to("dropbox://del?accessToken=XXX&clientIdentifier=XXX&remotePath=/root/folder1").to("mock:result");</p><p>from("direct:start").to("dropbox://del?accessToken=XXX&clientIdentifier=XXX&remotePath=/root/folde
r1/file1.tar.gz").to("mock:result");</p><h4
id="Dropbox-ResultMessageHeaders">Result Message Headers</h4><p>The following
headers are set on message result:</p><div class="confluenceTableSmall"><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1"
rowspan="1" class="confluenceTh"><p>Property</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Value</p></th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>DELETED_PATH</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>name of the path deleted on
dropbox</p></td></tr></tbody></table></div></div><h4
id="Dropbox-ResultMessageBody"><span style="line-height: 1.5;">Result Message
Body</span></h4><p>The following objects are set on message body
result:</p><div class="confluenceTableSmall"><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>Object type</p></th><th colspan="1" rowspan="1"
class="confluenceTh"
><p>Description</p></th></tr><tr><td colspan="1" rowspan="1"
>class="confluenceTd"><p><code>String</code></p></td><td colspan="1"
>rowspan="1" class="confluenceTd"><p>name of the path deleted on
>dropbox</p></td></tr></tbody></table></div></div><h3
>id="Dropbox-Get(download)operation">Get (download) operation</h3><p>Download
>files from Dropbox.</p><p>Works as Camel producer or Camel
>consumer.</p><p>Below are listed the options for this operation:</p><div
>class="confluenceTableSmall"><div class="table-wrap"><table
>class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
>class="confluenceTh"><p>Property</p></th><th colspan="1" rowspan="1"
>class="confluenceTh"><p>Mandatory</p></th><th colspan="1" rowspan="1"
>class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1"
>rowspan="1" class="confluenceTd"><p><code>remotePath</code></p></td><td
>colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td
>colspan="1" rowspan="1" class="confluenceTd"><p>Folder or fil
e to download from Dropbox</p></td></tr></tbody></table></div></div><h4
id="Dropbox-Samples.1">Samples</h4><p>from("direct:start").to("dropbox://get?accessToken=XXX&clientIdentifier=XXX&remotePath=/root/folder1/file1.tar.gz").to("file:///home/kermit/?fileName=file1.tar.gz");</p><p>from("direct:start").to("dropbox://get?accessToken=XXX&clientIdentifier=XXX&remotePath=/root/folder1").to("mock:result");</p><p>from("dropbox://get?accessToken=XXX&clientIdentifier=XXX&remotePath=/root/folder1").to("file:///home/kermit/");</p><h4
id="Dropbox-ResultMessageHeaders.1">Result Message Headers</h4><p>The
following headers are set on message result:</p><div
class="confluenceTableSmall"><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>Property</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Value</p></th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>DOWNLOADED_FILE</code></
p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>in case of single
file download, path of the remote file downloaded</p></td></tr><tr><td
colspan="1" rowspan="1"
class="confluenceTd"><p><code>DOWNLOADED_FILES</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>in case of multiple files download, path of
the remote files downloaded</p></td></tr></tbody></table></div></div><h4
id="Dropbox-ResultMessageBody.1"><span>Result Message Body</span></h4><p>The
following objects are set on message body result:</p><div
class="confluenceTableSmall"><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>Object type</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1"
rowspan="1"
class="confluenceTd"><p><code>ByteArrayOutputStream</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>in case of single file
download, stream representing the file do
wnloaded</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>Map<String,
ByteArrayOutputStream></code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>in case of multiple files download, a map with as key
the path of the remote file downloaded and as value the stream representing the
file downloaded</p></td></tr></tbody></table></div></div><h3
id="Dropbox-Moveoperation">Move operation</h3><p>Move files on Dropbox between
one folder to another.</p><p>Works only as Camel producer.</p><p>Below are
listed the options for this operation:</p><div
class="confluenceTableSmall"><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>Property</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Mandatory</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>remotePath</code></p></td><td colspa
n="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Original file or folder to
move</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>newRemotePath</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Destination file or
folder</p></td></tr></tbody></table></div></div><h4
id="Dropbox-Samples.2">Samples</h4><p>from("direct:start").to("dropbox://move?accessToken=XXX&clientIdentifier=XXX&remotePath=/root/folder1&newRemotePath=/root/folder2").to("mock:result");</p><h4
id="Dropbox-ResultMessageHeaders.2">Result Message Headers</h4><p>The
following headers are set on message result:</p><div
class="confluenceTableSmall"><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>Property</p></th><th colspan="1" rowspan="1"
class="confluenc
eTh"><p>Value</p></th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>MOVED_PATH</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>name of the path moved on
dropbox</p></td></tr></tbody></table></div></div><h4
id="Dropbox-ResultMessageBody.2"><span>Result Message Body</span></h4><p>The
following objects are set on message body result:</p><div
class="confluenceTableSmall"><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>Object type</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>name of the path moved on
dropbox</p></td></tr></tbody></table></div></div><h3
id="Dropbox-Put(upload)operation">Put (upload) operation</h3><p>Upload files on
Dropbox.</p><p>Works as Camel producer.</p><p>Below are listed the options fo
r this operation:</p><div class="confluenceTableSmall"><div
class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1"
rowspan="1" class="confluenceTh"><p>Property</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Mandatory</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1"
class="confluenceTd"><p><code>uploadMode</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>add or force this option specifies how a
file should be saved on dropbox:<br clear="none"> in case of "add" the new file
will be renamed if a file with the same name already exists on dropbox.<br
clear="none"> in case of "force" if a file with the same name already exists on
dropbox, this will be overwritten.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>localPath</code></p></td><td colspan="1"
rowspan="1" cla
ss="confluenceTd"><p><code>true</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>Folder or file to upload on Dropbox from the local
filesystem .</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>remotePath</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>false</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Folder destination on Dropbox. If the
property is not set, the component will upload the file on a remote path equal
to the local path.</p></td></tr></tbody></table></div></div><h4
id="Dropbox-Samples.3">Samples</h4><p>from("direct:start").to("dropbox://put?accessToken=XXX&clientIdentifier=XXX&uploadMode=add&localPath=/root/folder1").to("mock:result");</p><p>from("direct:start").to("dropbox://put?accessToken=XXX&clientIdentifier=XXX&uploadMode=add&localPath=/root/folder1&remotePath=/root/folder2").to("mock:result");</p><h4
id="Dropbox-ResultMessageHeaders.3">Result Me
ssage Headers</h4><p>The following headers are set on message result:</p><div
class="confluenceTableSmall"><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>Property</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Value</p></th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>UPLOADED_FILE</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>in case of single file upload, path of the
remote path uploaded</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>UPLOADED_FILES</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>in case of multiple files upload, string
with the remote paths uploaded</p></td></tr></tbody></table></div></div><h4
id="Dropbox-ResultMessageBody.3">Result Message Body</h4><p>The following
objects are set on message body result:</p><div
class="confluenceTableSmall"><div class="table-wrap"><table
class="confluenceTabl
e"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Object
type</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>String</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>in case of single file upload, result of
the upload operation, OK or KO</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>Map<String,
DropboxResultCode></code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>in case of multiple files upload, a map with as key the
path of the remote file uploaded and as value the result of the upload
operation, OK or KO</p></td></tr></tbody></table></div></div><h3
id="Dropbox-Searchoperation">Search operation</h3><p>Search inside a remote
Dropbox folder including its sub directories.</p><p>Works as Camel producer and
as Camel consumer.</p><p>Below are listed the options for this
operation:</p><div class="confluence
TableSmall"><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>Property</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Mandatory</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>remotePath</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Folder on Dropbox where to
search in.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>query</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>false</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>A space-separated list of substrings to search for. A
file matches only if it contains all the substrings. If this option is not set,
all files will be matched.</p></td></tr></tbody></table></div></div><h4
id="Dropbox-Sa
mples.4">Samples</h4><p>from("dropbox://search?accessToken=XXX&clientIdentifier=XXX&remotePath=/XXX&query=XXX").to("mock:result");</p><p>from("direct:start").to("dropbox://search?accessToken=XXX&clientIdentifier=XXX&remotePath=/XXX").to("mock:result");</p><h4
id="Dropbox-ResultMessageHeaders.4">Result Message Headers</h4><p>The
following headers are set on message result:</p><div
class="confluenceTableSmall"><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p>Property</p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p>Value</p></th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>FOUNDED_FILES</code></p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>list of file path
founded</p></td></tr></tbody></table></div></div><h4
id="Dropbox-ResultMessageBody.4">Result Message Body</h4><p>The following
objects are set on message body result:</p><div class="confluenceTableS
mall"><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p>Object type</p></th><th
colspan="1" rowspan="1"
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1"
rowspan="1"
class="confluenceTd"><p><code>List<DbxEntry></code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>list of file path founded. For
more information on this object refer to Dropbox documentation,</p><a
shape="rect" class="external-link"
href="http://dropbox.github.io/dropbox-sdk-java/api-docs/v1.7.x/com/dropbox/core/DbxEntry.html"
rel="nofollow">http://dropbox.github.io/dropbox-sdk-java/api-docs/v1.7.x/com/dropbox/core/DbxEntry.html</a><p> </p></td></tr></tbody></table></div></div></div>
</td>
<td valign="top">
<div class="navigation">