Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Getting started

Build and run your first rust-camel route. By the end, you will have a route that moves messages between two endpoints.

Prerequisites

You need the Rust toolchain (1.89 or newer). For the YAML path, also install the CLI with cargo install camel-cli. See Installation.

Choose a path

The Rust builder API gives type-safe compiled routes for application code. The YAML DSL gives declarative routes for ops-authored configuration.

  1. Installation
  2. First route in Rust or First route in YAML
  3. CLI usage: run, scaffold, and inspect routes from the terminal.

Next, see Core concepts for the Exchange, Message, and CamelContext model.