camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r915459 - in /websites/production/camel/content: cache/main.pageCache dropbox.html
Date Tue, 08 Jul 2014 09:18:14 GMT
Author: buildbot
Date: Tue Jul  8 09:18:13 2014
New Revision: 915459

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 Tue Jul  8 09:18:13 2014
@@ -86,18 +86,20 @@
 	<tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="Dropbox-CamelDropboxcomponent">Camel
Dropbox component</h2><p><strong>Available as of Camel x.xx</strong></p><p>The
<strong>dropbox:</strong> component allows you to treat <a shape="rect" class="external-link"
href="https://www.dropbox.com" rel="nofollow">Dropbox</a>&#160;remote folders
as a producer or consumer of messages. Using the <a shape="rect" class="external-link"
href="http://dropbox.github.io/dropbox-sdk-java/api-docs/v1.7.x/" rel="nofollow">Dropbox
Java Core API</a> (reference version for this component is 1.7.x), this camel component
has the following features:</p><ul><li>As a consumer, monitors couch changesets
for inserts, updates and deletes and publishes these as messages into camel routes.</li><li>As
a producer, can save or update documents into couch.</li><li>Can support as many
endpoints as required, eg for multiple databases across multiple instances.</li><li>Ability
to have events trigger for only deletes, only inser
 ts/updates or all (default).</li><li>Headers set for sequenceId, document revision,
document id, and HTTP method type.</li></ul><p>Maven users will need to
add the following dependency to their <code>pom.xml</code> for this component:</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+<div class="wiki-content maincontent"><h2 id="Dropbox-CamelDropboxcomponent">Camel
Dropbox component</h2><p><strong>Available as of Camel x.xx</strong></p><p>The
<strong>dropbox:</strong> component allows you to treat <a shape="rect" class="external-link"
href="https://www.dropbox.com" rel="nofollow">Dropbox</a>&#160;remote folders
as a producer or consumer of messages. Using the <a shape="rect" class="external-link"
href="http://dropbox.github.io/dropbox-sdk-java/api-docs/v1.7.x/" rel="nofollow">Dropbox
Java Core API</a> (reference version for this component is 1.7.x), this camel component
has the following features:</p><ul><li>As a consumer, download files and
search files by queries</li><li>As a producer, download files, move files between
remote directories, delete files/dir, upload files&#160;and search files by queries</li></ul><p>Maven
users will need to add the following dependency to their <code>pom.xml</code>
for this component:</p><div class="code panel pdl" style="border
 -width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
-    &lt;artifactId&gt;camel-couchdb&lt;/artifactId&gt;
+    &lt;artifactId&gt;camel-dropbox&lt;/artifactId&gt;
     &lt;version&gt;x.x.x&lt;/version&gt;
     &lt;!-- use the same version as your Camel core version --&gt;
 &lt;/dependency&gt;
 ]]></script>
 </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[couchdb:http://hostname[:port]/database?[options]
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[dropbox://[operation]?[options]
 ]]></script>
-</div></div><p>Where <strong>hostname</strong> is the hostname
of the running couchdb instance. Port is optional and if not specified then defaults to 5984.</p><h3
id="Dropbox-Options">Options</h3><div class="confluenceTableSmall">
+</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&#160;</h3><div
class="confluenceTableSmall">
+<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><p><strong>Operations</strong> require additional options to
work, some are mandatory for the specific operation.</p><h3 id="Dropbox-Options">Options</h3><div
class="confluenceTableSmall">
 <table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p> Property </p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p> Default </p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p> Description </p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>deletes</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> document
deletes are published as events </p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>updates</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> document inserts/updates are published
as events </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>heartbeat</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>30000</code> </p></td><td col
 span="1" rowspan="1" class="confluenceTd"><p> how often to send an empty message
to keep socket alive in millis </p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>createDatabase</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> create the database if it does not
already exist </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>username</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>null</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
username in case of authenticated databases </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>password</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> password
for authenticated databases </p></td></tr></tbody></table>
 </div><h3 id="Dropbox-Headers">Headers</h3><p>The following headers
are set on exchanges during message transport.</p><div class="confluenceTableSmall">
 <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>CouchDbDatabase</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> the database the message came from
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>CouchDbSeq</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
the couchdb changeset sequence number of the update / delete message </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>CouchDbId</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> the
couchdb document id </p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>CouchDbRev</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> the couchdb document revision </p></td></tr><tr><td
colspan="1" r
 owspan="1" class="confluenceTd"><p> <code>CouchDbMethod</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> the method (delete / update) </p></td></tr></tbody></table>



Mime
View raw message