docs.rs failed to build camel-bundles-0.43.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
camel-bundles
Component-bundle registration cascade and boot lifecycle handle for rust-camel
Owns the ComponentBundle::register_all cascade extracted from camel run
(ADR-0069): one registration path shared by the CLI and the integration-test
harness, plus the BootHandle that sequences JMS/CXF pool and bridge-cleanup
teardown.
Usage
use boot;
// ctx is created and pre-configured by the caller (e.g. through
// camel_config::CamelConfig::configure_context_with_beans).
let handle = boot.await?;
// ... load routes, run startup checks, ctx.start() ...
handle.shutdown.await?;
boot reads each [components.<key>] table from the Camel.toml behind
config, falling back to an empty table so every bundle registers with its
serde defaults. Feature gates mirror the camel run cfg lines: grpc,
wasm, http-static, llm, surrealdb, mqtt, and mcp are default-on;
kafka is opt-in.
Related crates
- camel-core — engine; owns
CamelContextand theadd_lifecycleseam - camel-config —
Camel.tomlloading and context composition - camel-cli —
camel run, which forwards its feature gates here