Apache Camel is an open source integration framework that empowers you to quickly and easily integrate various systems consuming or producing data. https://camel.apache.org
  • Java 99.3%
  • HTML 0.2%
  • XSLT 0.1%
  • JavaScript 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Aurélien Pupier dca2a14b07
Some checks are pending
Main build / build (25) (push) Waiting to run
CAMEL-26680: camel-disruptor - multipleConsumers: each consumer copies a snapshot of the exchange
With multipleConsumers=true each consumer copied the shared original exchange when it got to the event. The first consumer that failed copied its result (the exception, body, headers and properties) into that exchange, so a consumer that came later routed a copy that already had the exception and did nothing with it, and a consumer that copied at the same moment read the maps while they were written. The message was silently dropped for that consumer, which also made DisruptorMultipleConsumersOnCompletionTest flaky.

MultipleConsumerSynchronizedExchange now takes a snapshot of the exchange when it is published, and the consumers copy that one. The test no longer needs a barrier between the consumers, and a new test holds a consumer until the other one has failed the exchange.

Co-authored-by: IBM Bob 2.2.1
Signed-off-by: Aurélien Pupier <apupier@ibm.com>
2026-11-06 11:12:58 +01:00
.claude-plugin
.github
.idea
.mvn
.oss-ai-helper-rules
apache-camel
archetypes
bom
buildingtools
camel-dependencies
camel-sbom
catalog
components
core
coverage
design
docs
dsl
etc
parent
plugins/camel-mcp
test-infra
tests
tooling
.asf.yaml
.gitattributes
.gitignore
.gitmodules
.sdkmanrc
AGENTS.md
CLAUDE.md
CONTRIBUTING.md
doap.rdf
jbang-catalog.json
Jenkinsfile
Jenkinsfile.deploy
Jenkinsfile.jbangtest
Jenkinsfile.jdk26
Jenkinsfile.jdk27
KEYS
LICENSE.txt
mvnw
mvnw.cmd
NOTICE.txt
pom.xml
README.md
SECURITY.md

Apache Camel

Maven Central Javadocs Stack Overflow Chat Twitter

Apache Camel is an open source integration framework with 350+ connectors for databases, APIs, message brokers, and cloud services. Write routes in Java, YAML, or XML. Run on Spring Boot, Quarkus, or standalone with the Camel CLI. In production since 2007 — used by thousands of companies worldwide. Apache License 2.0.

What is Apache Camel? | Getting Started | Components | Tooling | Docs for AI agents (llms.txt)

Get started in seconds

camel init hello.yaml
camel run hello.yaml

Or add to your existing Spring Boot project:

<dependency>
    <groupId>org.apache.camel.springboot</groupId>
    <artifactId>camel-spring-boot-starter</artifactId>
</dependency>

Write it your way

The same route in YAML, Java, or XML — pick what fits your team:

YAML:

- route:
    from:
      uri: kafka:incoming-orders
      steps:
        - unmarshal:
            json: {}
        - to:
            uri: sql:INSERT INTO orders(id, data) VALUES(:#${header.id}, :#${body})

Java:

from("kafka:incoming-orders")
    .unmarshal().json()
    .to("sql:INSERT INTO orders(id, data) VALUES(:#${header.id}, :#${body})");

Runtimes

Runtime What it does
Camel Spring Boot Camel on Spring Boot with starters for 350+ connectors
Camel Quarkus Cloud-native Camel with fast startup, low memory, native compilation
Camel CLI Run, develop, test, and trace routes from the command line

Other runtimes: Camel K (Kubernetes), Camel Karaf (OSGi), Camel Kafka Connector (Kafka Connect)

Components

350+ connectors for connecting to anything — Kafka, REST, JDBC, AWS, Azure, GCP, Salesforce, and more:

AI integration

Apache Camel provides an MCP server (Model Context Protocol) for AI coding assistants — Claude Code, GitHub Copilot, Cursor, and Gemini CLI get full Camel catalog context. Camel also includes components for LangChain4j and OpenAI, and supports the A2A agent-to-agent protocol for connecting AI agents to enterprise systems.

AI coding assistants can read the documentation as Markdown: llms.txt indexes it, and documentation pages are also available as Markdown by replacing .html with .md in the URL. Projects made by camel export and the Camel Maven archetypes include an AGENTS.md that points there.

Visual designers

  • Kaoto — open source visual designer for Camel routes, drag-and-drop, no code required
  • Karavan — visual designer for Camel integrations in VS Code and standalone

Examples

Contributing

We welcome all kinds of contributions:

https://github.com/apache/camel/blob/main/CONTRIBUTING.md

Community

Licensing

Apache License 2.0 — see LICENSE.txt.