dropbox source Dropbox Source

Provided by: "Apache Software Foundation"

Support Level for this Kamelet is: "Stable"

Consume Files from Dropbox.

Configuration Options

The following table summarizes the configuration options available for the dropbox-source Kamelet:

Property Name Description Type Default Example

accessToken

Dropbox Access Token

Required The access Token to use to access Dropbox.

string

clientIdentifier

Client Identifier

Required Dropbox App client Identifier.

string

period

Period between Polls

Required The interval between fetches to the Dropbox remote path in milliseconds.

integer

10000

query

Queries

Required A space-separated list of sub-strings to search for. A file matches only if it contains all the sub-strings. If this option is not set, all files will be matched.

string

remotePath

Remote Path

Required Original file or folder to work with.

string

Dependencies

At runtime, the dropbox-source Kamelet relies upon the presence of the following dependencies:

  • camel:dropbox

  • camel:kamelet

  • camel:core

  • camel:jsonpath

  • camel:timer

Camel JBang usage

Prerequisites

  • You’ve installed JBang.

  • You have executed the following command:

jbang app install camel@apache/camel

Supposing you have a file named route.yaml with this content:

- route:
    from:
      uri: "kamelet:dropbox-source"
      parameters:
        .
        .
        .
      steps:
        - to:
            uri: "kamelet:log-sink"

You can now run it directly through the following command

camel run route.yaml