bitcoin source Bitcoin Source

Provided by: "Apache Software Foundation"

Support Level for this Kamelet is: "Stable"

Provides a feed of the value of the Bitcoin compared to USDT using the Binance service.

Configuration Options

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

Property Name Description Type Default Example

period

Period between Updates

The interval between updates in milliseconds.

integer

10000

Dependencies

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

  • camel:xchange

  • camel:kamelet

  • camel:jackson

  • 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:bitcoin-source"
      parameters:
        .
        .
        .
      steps:
        - to:
            uri: "kamelet:log-sink"

You can now run it directly through the following command

camel run route.yaml