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

Components

Components connect routes to external systems. Each Component owns a URI scheme and creates Endpoints that produce Consumers, Producers, or both. The vocabulary for Component, Endpoint, Consumer, and Producer lives in crates/components/CONTEXT.md.

Catalog

SchemeDirectionAuthority
timerconsumerparent
logproducercamel-log
directbothcamel-direct
sedabothcamel-component-seda
controlbusproducercamel-controlbus
mockbothparent
filebothcamel-file
http, http-staticbothcamel-http
ws, wssbothcamel-ws
grpc, grpcsbothcamel-component-grpc
cronconsumercamel-cron
kafkabothcamel-kafka
jmsbothcamel-jms
mqttbothcamel-mqtt
redis, redissbothcamel-redis
sqlbothcamel-sql
surrealdbbothcamel-component-surrealdb
opensearch, opensearchsproducercamel-opensearch
masterconsumerparent
containerbothcamel-container
llmproducercamel-component-llm
execproducercamel-component-exec
validatorproducercamel-validator
xsltproducercamel-xslt
xjproducercamel-xj
cxfbothcamel-cxf
keycloakconsumercamel-component-keycloak
wasmbothcamel-component-wasm
templateproducerparent

The table covers every crate under crates/components/. The contract crate camel-component-api defines the Component SPI and the Consumer, Producer, and Endpoint traits. It registers no URI scheme.

Direction

consumer marks an inbound Component. It starts a Consumer that submits Exchanges into the Route. producer marks an outbound Component. It creates a Producer that sends Exchanges to an external system. both means the Component supports either direction, one per Endpoint.

master wraps a delegate Consumer in a leadership gate. The bridge exposes inbound traffic only while this node holds the leadership lock (ADR-0035).

Narrative pages

  • Timer and log. The smallest working route.
  • File. Directory poller and disk writer.
  • HTTP. Server Consumer and response handling.
  • gRPC. Service consumer and producer.
  • WebSocket and SOAP. Bidirectional WebSocket traffic and SOAP calls through the Java bridge.
  • Kafka. Broker producer and consumer.
  • JMS. Java bridge consumer and producer.
  • MQTT. MQTT 3.1.1 broker producer and consumer.
  • Redis. Datastore and pub/sub.
  • Database. SQL access.
  • SurrealDB. Multi-model database.
  • OpenSearch. Search and indexing.
  • LLM. Chat completions and embeddings.
  • WASM. Sandboxed plugins with capability model.
  • Cron. Scheduled message generation.
  • Direct. Synchronous in-process routing.
  • SEDA. Asynchronous staging between routes.
  • ControlBus. Runtime control messages.
  • Master. Leader-only route execution.
  • Template. External template rendering.
  • Validator. Schema validation.
  • Exec. External process execution.
  • Keycloak. OIDC auth and JWKS validation.
  • XML transform. XSLT and JSON-XML conversion.
  • Mock. Testing assertions.