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

Extending rust-camel

rust-camel exposes four extension points. Each one has a Rust trait or WIT contract and registers into CamelContext at startup.

ExtensionContractRegisters
Custom componentComponentBundle in camel-component-apiURI scheme; config under [components.<key>]
Expression languageLanguage in camel-language-apiName; six built-in (Simple, JSONPath, XPath, JS, Rhai, MiniJinja)
Data formatDataFormat in camel-apiName; JSON, CSV, XML, Protobuf built-in
WASM plugincamel:plugin WIT in camel-witGuest component, bean, or source via camel-component-wasm

Start with the custom component walkthrough.