Skip to content

CAMEL-26434: camel-core - a route called from a doCatch handles its own failure after the doTry called a route that failed unhandled - #28786

Merged
davsclaus merged 4 commits into
apache:mainfrom
allthingssecurity:camel-core-docatch-route-handles-own-failure-v2
Nov 1, 2026
Merged

davsclaus merged 4 commits into
apache:mainfrom
allthingssecurity:camel-core-docatch-route-handles-own-failure-v2

Conversation

@allthingssecurity

@allthingssecurity allthingssecurity commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Description

CAMEL-26434

From the side question in the review of #28756 (CAMEL-26333).

When the doTry block calls a route (such as with direct) that fails unhandled (default error handler, no onException), a route called from the doCatch cannot handle its own failure with its error handler. Its dead letter channel or handled onException does not run, and the exchange fails with that route's exception. When the doTry fails in the same route, the same doCatch works:

from("direct:viaCallee")
    .doTry().to("direct:failing")
    .doCatch(IllegalArgumentException.class).to("mock:catch").to("direct:dlcRoute")
    .end()
    .to("mock:after");

from("direct:failing").throwException(new IllegalArgumentException("callee"));
from("direct:dlcRoute").errorHandler(deadLetterChannel("mock:dead").redeliveryDelay(0))
    .throwException(new IOException("in catch"));

On main, direct:viaCallee fails with IOException: in catch and mock:dead gets nothing. With .throwException(new IllegalArgumentException(...)) in the doTry instead of .to("direct:failing"), mock:dead gets the message and the exchange does not fail. The same holds for a handled onException in the called route.

With this PR the doCatch behaves as when the doTry failed in the same route. Two points differ from what the JIRA's proposal might suggest, on purpose:

  • when the route called from the doCatch handles its failure, the rest of the doCatch block and the steps after the doTry do not run, as for any failure that a called route handles (CAMEL-19441) and as in the in-route case. The caller continues after the doTry as before when the doCatch block does not call a failing route (or the called route continues its failure);
  • the "not handled" mark of the caught failure is not set again after the block (failure handled is). The doCatch handled that failure; setting "not handled" again made a doTry/doCatch inside a handled onException fail the exchange with the caught exception (see below).

Cause: the callee's error handler marks the exchange as failure handled (ExchangeExtension.isFailureHandled() == true) and as not handled by the error handler (errorHandlerHandled=false) before the exception goes back to the caller. CatchProcessor clears the exception but not these marks. In the route called from the doCatch, RedeliveryErrorHandler.isDone treats a failure handled exchange as done, so the error handler gives the failure straight back (no redelivery, no dead letter channel, no onException), and prepareExchangeAfterFailure keeps a "not handled" that is already set. It is the same kind of cause as CAMEL-26333 (#28756) for the doFinally block, with the marks of an unhandled callee failure instead of a handled one.

Changes

  • CatchProcessor clears both marks when the doCatch takes over the exception (only when one of them is set), as the JIRA proposes. When the block is done:
    • failure handled is set again, one way (never cleared), as CAMEL-26333: camel-core - doFinally runs only its first step after a called route's error handler handled a failure #28756 does;
    • a handled mark is set again only when it was set and true, and the block left it unset: the same "set and true" snapshot as FinallyProcessor in CAMEL-26333: camel-core - doFinally runs only its first step after a called route's error handler handled a failure #28756. When a route called from the block handled its failure, its true stays, so the rest of the block and the caller after the doTry stop, as for any failure that a called route handles (CAMEL-19441) and as when the doTry failed in the same route;
    • the "not handled" mark of the caught failure is not set again: the doCatch handled that failure. This is a difference from main, on purpose: with it set again, a doTry/doCatch inside an onException(...).handled(true), whose doTry calls a failing route, made the exchange fail with the exception the doCatch caught (the outer error handler saw "not handled" and put CamelExceptionCaught back). The new test doTryInHandledOnExceptionCallsRouteThatFails covers it.
    • When neither mark is set when the doCatch takes over, nothing changes. This is the case when the doTry failed in the same route, unless an earlier doCatch of the route caught a callee failure: failure handled is set again after that one, so a later doTry in the same route had the same bug on main, and is fixed too (test secondDoTryAfterCaughtCalleeFailure).
  • What else changes for a doCatch after an unhandled callee failure, all in the direction of the in-route case:
    • the error handler of a route called from the block now runs in full, also when it does not handle the failure: it redelivers, runs a non-handled onException or a context-scoped one, logs the exhausted failure, and CamelFailureRouteId names that route (test redeliveryOfRouteCalledFromDoCatchAfterUnhandledCallee: 3 attempts with maximumRedeliveries(2), 1 on main);
    • for a doCatch that only logs, the error registry now records the caught callee failure as handled (CatchProcessor fires the failure handled event before the marks are set again), and the JMX failuresHandled counters of the steps inside the block no longer count it; as for an in-route failure;
    • copies of the exchange made later in the route (split, multicast, recipientList, enrich, wireTap) take over the handled mark but not failure handled. They used to inherit "not handled", so a route called from them handled its failure with its dead letter channel but the exception came back; now it stays handled, as in the in-route case (test splitAfterCaughtCalleeFailure);
    • with bridgeErrorHandler=true on the consumer, a failure of such an exchange that is not handled (a doCatch that fails, or a later failure in the route) now goes to the route's error handler, as an exchange with the body Error processing exchange, instead of only being logged (BridgeExceptionHandlerToErrorHandler only logs when the mark is "not handled");
    • after the block, the exchange keeps failure handled as before, so the idempotent consumer, ResumableCompletion and the route's failuresHandled counter see the same as before.
  • Not changed: CAMEL-2577 and CAMEL-7275 (no nested error handlers for the children of doTry). The routes called from the doCatch have error handlers of their own; the doCatch children are still not wrapped in one.
  • Upgrade guide (4.24), in the camel-core section: a lead paragraph (the error handler of the called route now runs in full, a handled failure there stops the rest of the block and the caller), then a list of the other effects (a later doTry, a doTry in an onCompletion, the copies made by split and the like, the onException case, bridgeErrorHandler, the error registry and the JMX counters), and the way back: noErrorHandler() on the called route (which applies to every caller of that route).

With #28756

#28756 (CAMEL-26333) is merged, and main is merged into this branch. A doCatch whose called route handles its failure, followed by a doFinally with two steps, runs both steps, as when the doTry fails in the same route (test doFinallyWithTwoStepsAfterDoCatchCalledRouteHandledItsFailure and its control). Without this PR the exchange fails with the called route's exception there.

Tests

New DoCatchCalledRouteAfterUnhandledCalleeTest (camel-core, 23 tests, JUnit assertions as the other doTry tests of the package, no sleeps). Most cases through a failing callee have a control where the doTry fails in the same route, with the same expected outcome:

  • the four cases of the JIRA: a dead letter channel and a handled onException in the route called from the doCatch, each with its in-route control. The handled failure stops the rest of the doCatch block and the caller, in both;
  • a continued onException in the route called from the doCatch (the rest of the block and the caller then run), with its control;
  • a route called from the doCatch whose error handler redelivers and does not handle: 3 attempts, the exchange fails with that route's exception, with its control;
  • a route called from the doCatch that fails asynchronously (a delay with asyncDelayed; the test checks it continued on another thread than the one that sent), with its control;
  • a route called from the doCatch that handles its failure, followed by a doFinally with two steps: both steps run, with its control;
  • a doTry/doCatch inside a handled onException, whose doTry calls the failing route: the onException handles the failure, with its control;
  • a second doTry in the route after a doCatch caught the callee failure: the route called from the second doCatch handles its failure, with its control;
  • a split after a doCatch that caught the callee failure, calling the route with the dead letter channel: the failure stays handled and the route continues after the split, with its control;
  • an asynchronous callee: the callee fails on the delayer's thread, so the doCatch runs on another thread than the one that started the route (checked);
  • nested doTry (no in-route control): the inner doCatch calls the route with the dead letter channel (the outer doCatch does not run); and the inner doCatch fails, so the outer doCatch takes over and calls that route (the outer doCatch clears the marks again);
  • the caller continues after the doTry when the doCatch does not call a failing route, and a doCatch that throws fails the exchange with its exception: failure handled as before, no "not handled" mark (these two pass on main except for that mark).

Without the fix, 14 of the 23 tests fail; the 9 in-route controls pass on main as well. Mutants of the fix, each failing at least one test: no restore after the block, clearing only one of the two marks, a restore that always sets the earlier handled mark back (over what the block set), restoring failure handled only after a handled failure, setting "not handled" back. The restore of a true handled mark is defensive (a failure that an error handler handled has no exception left to catch): no known case reaches it (a handled onException whose handler throws does not either, checked with a scratch test), so no test reaches it, and removing it fails no test. The comment in CatchProcessor says so; it is kept for symmetry with FinallyProcessor.

  • New class 20 times in one JVM: 460 tests, 0 failures.
  • On the branch with main 0c2d477 merged (with CAMEL-26333: camel-core - doFinally runs only its first step after a called route's error handler handled a failure #28756): camel-core org.apache.camel.processor.** (with errorhandler, onexception, exceptionpolicy and the other subpackages) plus the doTry/doCatch/doFinally, redelivery, error handler and exception tests of org.apache.camel.issues: 2980 tests, 0 failures, 24 skipped. After the review commit and the merge of main f901a8c: the doTry/doCatch/doFinally and split tests of camel-core, 410 tests, 0 failures, 4 skipped; the new class 20 times in one JVM again: 460 tests, 0 failures.
  • Formatter and import-sort: no changes.

Follow-up JIRA

Filed as CAMEL-26447 (linked from CAMEL-26434), with the case from the review.

The failure handled mark of the unhandled callee failure still stays on the exchange after the doTry (as on main, and on purpose in this PR). Two consequences remain, reproduced on main and with this PR (scratch test, not in the PR):

  • a later failure in the calling route, after the doTry, is not handled by the calling route's onException (the exchange fails with it), while it is when the doTry failed in the same route (with bridgeErrorHandler=true the bridge now gives it to the error handler, see above). Likewise a route called later with a plain .to("direct:x") still cannot handle its own failure, while the same route called through enrich or a split now can, as the copy does not carry failure handled;
  • a route called from a doFinally after such a doCatch (or after the unhandled callee without a matching doCatch) cannot handle its own failure either. CAMEL-26333: camel-core - doFinally runs only its first step after a called route's error handler handled a failure #28756 clears the marks around the doFinally only after a handled callee failure.

Clearing failure handled for good when a doCatch catches the exception would fix both, but it changes what the readers of that mark see at the end of the exchange: the idempotent consumer (IdempotentOnCompletion) then confirms the message instead of removing it, ResumableCompletion records the offset, and the JMX and Micrometer failuresHandled counters no longer count it. That needs its own JIRA and upgrade guide entry, so I kept this PR to the doCatch block. The review found one more case with the same cause, also on main: a route with a dead letter channel calls a route whose doTry calls a route that fails unhandled and whose doCatch throws; the outer dead letter channel does not run (it does when the doTry throws in the inner route itself), because the doCatch sets failure handled again when its block fails. The follow-up JIRA with these cases is drafted and will be linked from CAMEL-26434.

Target

  • I checked that the commit is targeting the correct branch (Camel 4 uses the main branch)

Tracking

  • If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it): CAMEL-26434.

Apache Camel coding standards and style

  • I checked that each commit in the pull request has a meaningful subject line and body.
  • I have run mvn clean install -DskipTests locally from root folder and I have committed all auto-generated changes.
    (I built the core modules and ran the tests above, including the formatter and import-sort plugins. No generated file changes. I did not run the full root build.)

AI-assisted contributions

  • If this PR includes AI-generated code, commits have proper co-authorship attribution (e.g., Co-authored-by trailers) and the PR description identifies the AI tool used.
    This PR was prepared with Claude Code (Claude Opus 5.5). The commit carries a Co-Authored-By trailer.

Claude Code on behalf of allthingssecurity

🤖 Generated with Claude Code

…wn failure after the doTry called a route that failed unhandled

A route called from the doTry (such as with direct) that fails unhandled marks
the exchange as failure handled and as not handled by the error handler before
the exception comes back to the caller. CatchProcessor cleared only the
exception, so the error handler of a route called from the doCatch gave its
failure straight back: no redelivery, no dead letter channel, no onException,
and the exchange failed with that route's exception, while the same doCatch
works when the doTry fails in the same route.

CatchProcessor now clears both marks when the doCatch takes over the exception.
When the block is done, failure handled is set again (one way), and a handled
mark only when it was set and true and the block left it unset (the "set and
true" snapshot that CAMEL-26333 uses for the doFinally block). The "not handled"
mark of the caught failure is not set again, as when the doTry failed in the
same route, so a doTry and doCatch inside a handled onException no longer make
the exchange fail with the caught exception. The route continues after the
doTry as before when the doCatch block does not call a failing route. A later
doTry in the same route, after such a doCatch, is fixed the same way, and the
copies made later by a split and the like no longer carry "not handled".

Upgrade guide entry for 4.24.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟
🤖 CI automation will test this PR automatically.

🐫 Apache Camel Committers, please review the following items:

  • First-time contributors require MANUAL approval for the GitHub Actions to run
  • You can use the command /component-test (camel-)component-name1 (camel-)component-name2.. to request a test from the test bot although they are normally detected and executed by CI.
  • You can label PRs using skip-tests and test-dependents to fine-tune the checks executed by this PR.
  • Build and test logs are available in the summary page. Only Apache Camel committers have access to the summary.

⚠️ Be careful when sharing logs. Review their contents before sharing them publicly.

allthingssecurity and others added 3 commits November 1, 2026 13:56
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…upgrade guide as a list, comments

- DoCatchCalledRouteAfterUnhandledCalleeTest: a route called from the doCatch
  handles its failure and the doFinally has two steps (both run), with its
  in-route control (CAMEL-26333 is on main now).
- The asynchronous test compares the thread of the called route with the
  thread that sent, instead of matching the delayer's thread name.
- CatchProcessor: say that no known case reaches the restore of a true handled
  mark, kept for symmetry with FinallyProcessor.
- Upgrade guide: a lead paragraph and a list of the other effects.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

🧪 CI tested the following changed modules:

  • core/camel-core-processor
  • core/camel-core
  • docs

ℹ️ Dependent modules were not tested because the total number of affected modules exceeded the threshold (50). Use the test-dependents label to force testing all dependents.

🔁 1 test passed only after a retry on JDK 21 (1 retried attempt)

Recovered flaky tests on JDK 21 (1)
Module Test Failed attempts First failure
core/camel-core FileConsumerFailureHandledTest.testDublin 1 mock://beer Received message count. Expected: <1> but was: <0>

ℹ️ These tests did not fail the build. Surefire retried them and they passed.
Retries are enabled project-wide by surefire.rerunFailingTestsCount in parent/pom.xml.


🔬 Scalpel shadow comparison — Scalpel: 572 of 713 tested, 26 compile-only — current: 573 all tested

Maveniverse Scalpel detected 572 affected modules (current approach: 573).

Skip-tests mode would test 572 modules (3 direct + 570 downstream), skip tests for 26 (generated code, meta-modules)

Modules only in current approach (1)
  • camel-test-infra-core
Modules Scalpel would test (572)
  • archetypes ← downstream of org.apache.camel:camel-test-junit6
  • camel-a2a ← downstream of org.apache.camel:camel-core-model
  • camel-activemq ← downstream of org.apache.camel:camel-core-model
  • camel-activemq6 ← downstream of org.apache.camel:camel-core-model
  • camel-ai-observability ← downstream of org.apache.camel:camel-core-model
  • camel-ai-observability-api ← downstream of org.apache.camel:camel-core-model
  • camel-ai-parent ← downstream of org.apache.camel:camel-core-model
  • camel-ai-resource ← downstream of org.apache.camel:camel-core-model
  • camel-ai-tool ← downstream of org.apache.camel:camel-core-model
  • camel-alibaba-common ← downstream of org.apache.camel:camel-core-model
  • camel-alibaba-eventbridge ← downstream of org.apache.camel:camel-core-model
  • camel-alibaba-fc ← downstream of org.apache.camel:camel-core-model
  • camel-alibaba-kms ← downstream of org.apache.camel:camel-core-model
  • camel-alibaba-mns ← downstream of org.apache.camel:camel-core-model
  • camel-alibaba-oss ← downstream of org.apache.camel:camel-core-model
  • camel-alibaba-ots ← downstream of org.apache.camel:camel-core-model
  • camel-alibaba-parent ← downstream of org.apache.camel:camel-core-model
  • camel-alibaba-sls ← downstream of org.apache.camel:camel-core-model
  • camel-alibaba-sms ← downstream of org.apache.camel:camel-core-model
  • camel-amqp ← downstream of org.apache.camel:camel-core-model
  • camel-api-component-maven-plugin ← downstream of org.apache.camel:camel-test-junit6
  • camel-apicurio-registry ← downstream of org.apache.camel:camel-core-model
  • camel-arangodb ← downstream of org.apache.camel:camel-core-model
  • camel-archetype-api-component ← downstream of org.apache.camel:camel-test-junit6
  • camel-archetype-component ← downstream of org.apache.camel:camel-test-junit6
  • camel-archetype-dataformat ← downstream of org.apache.camel:camel-test-junit6
  • camel-archetype-java ← downstream of org.apache.camel:camel-test-junit6
  • camel-archetype-main ← downstream of org.apache.camel:camel-test-junit6
  • camel-as2 ← downstream of org.apache.camel:camel-core-model
  • camel-as2-api ← downstream of org.apache.camel:camel-core-model
  • camel-as2-parent ← downstream of org.apache.camel:camel-core-model
  • camel-asn1 ← downstream of org.apache.camel:camel-core-model
  • camel-asterisk ← downstream of org.apache.camel:camel-core-model
  • camel-atmosphere-websocket ← downstream of org.apache.camel:camel-core-model
  • camel-atom ← downstream of org.apache.camel:camel-core-model
  • camel-attachments ← downstream of org.apache.camel:camel-core-model
  • camel-avro ← downstream of org.apache.camel:camel-core-model
  • camel-avro-rpc ← downstream of org.apache.camel:camel-core-model
  • camel-avro-rpc-jetty ← downstream of org.apache.camel:camel-core-model
  • camel-avro-rpc-parent ← downstream of org.apache.camel:camel-core-model
  • camel-avro-rpc-spi ← downstream of org.apache.camel:camel-core-model
  • camel-aws-bedrock ← downstream of org.apache.camel:camel-core-model
  • camel-aws-cloudtrail ← downstream of org.apache.camel:camel-core-model
  • camel-aws-common ← downstream of org.apache.camel:camel-core-model
  • camel-aws-config ← downstream of org.apache.camel:camel-core-model
  • camel-aws-parameter-store ← downstream of org.apache.camel:camel-core-model
  • camel-aws-parent ← downstream of org.apache.camel:camel-core-model
  • camel-aws-secrets-manager ← downstream of org.apache.camel:camel-core-model
  • camel-aws-security-hub ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-athena ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-comprehend ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-cw ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-ddb ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-ec2 ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-ecs ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-eks ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-eventbridge ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-iam ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-kinesis ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-kms ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-lambda ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-mq ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-msk ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-polly ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-redshift ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-rekognition ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-s3 ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-s3-vectors ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-ses ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-sns ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-sqs ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-step-functions ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-sts ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-textract ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-timestream ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-transcribe ← downstream of org.apache.camel:camel-core-model
  • camel-aws2-translate ← downstream of org.apache.camel:camel-core-model
  • camel-azure-common ← downstream of org.apache.camel:camel-core-model
  • camel-azure-cosmosdb ← downstream of org.apache.camel:camel-core-model
  • camel-azure-eventgrid ← downstream of org.apache.camel:camel-core-model
  • camel-azure-eventhubs ← downstream of org.apache.camel:camel-core-model
  • camel-azure-files ← downstream of org.apache.camel:camel-core-model
  • camel-azure-functions ← downstream of org.apache.camel:camel-core-model
  • camel-azure-key-vault ← downstream of org.apache.camel:camel-core-model
  • camel-azure-parent ← downstream of org.apache.camel:camel-core-model
  • camel-azure-schema-registry ← downstream of org.apache.camel:camel-core-model
  • camel-azure-servicebus ← downstream of org.apache.camel:camel-core-model
  • camel-azure-storage-blob ← downstream of org.apache.camel:camel-core-model
  • camel-azure-storage-datalake ← downstream of org.apache.camel:camel-core-model
  • camel-azure-storage-queue ← downstream of org.apache.camel:camel-core-model
  • camel-barcode ← downstream of org.apache.camel:camel-core-model
  • camel-base64 ← downstream of org.apache.camel:camel-core-model
  • camel-bean ← downstream of org.apache.camel:camel-core-model
  • camel-bean-validator ← downstream of org.apache.camel:camel-core-model
  • camel-beanio ← downstream of org.apache.camel:camel-core-model
  • camel-bindy ← downstream of org.apache.camel:camel-core-model
  • camel-bonita ← downstream of org.apache.camel:camel-core-model
  • camel-box ← downstream of org.apache.camel:camel-core-model
  • camel-box-api ← downstream of org.apache.camel:camel-core-model
  • camel-box-parent ← downstream of org.apache.camel:camel-core-model
  • camel-braintree ← downstream of org.apache.camel:camel-core-model
  • camel-browse ← downstream of org.apache.camel:camel-core-model
  • camel-caffeine ← downstream of org.apache.camel:camel-core-model
  • camel-camunda ← downstream of org.apache.camel:camel-core-model
  • camel-cassandraql ← downstream of org.apache.camel:camel-core-model
  • camel-cbor ← downstream of org.apache.camel:camel-core-model
  • camel-chaos ← downstream of org.apache.camel:camel-core-model
  • camel-chatscript ← downstream of org.apache.camel:camel-core-model
  • camel-chunk ← downstream of org.apache.camel:camel-core-model
  • camel-cli-connector ← downstream of org.apache.camel:camel-test-junit6
  • camel-cli-debug ← downstream of org.apache.camel:camel-cli-connector
  • camel-clickhouse ← downstream of org.apache.camel:camel-core-model
  • camel-clickup ← downstream of org.apache.camel:camel-core-model
  • camel-cloudevents ← downstream of org.apache.camel:camel-core-model
  • camel-cluster ← downstream of org.apache.camel:camel-core-model
  • camel-cm-sms ← downstream of org.apache.camel:camel-core-model
  • camel-coap ← downstream of org.apache.camel:camel-core-model
  • camel-cometd ← downstream of org.apache.camel:camel-core-model
  • camel-console ← downstream of org.apache.camel:camel-management
  • camel-consul ← downstream of org.apache.camel:camel-core-model
  • camel-controlbus ← downstream of org.apache.camel:camel-core-model
  • camel-core ← core/camel-core/src/test/java/org/apache/camel/processor/DoCatchCalledRouteAfterUnhandledCalleeTest.java
  • camel-core-all ← downstream of org.apache.camel:camel-core-processor
  • camel-core-engine ← downstream of org.apache.camel:camel-core-model
  • camel-core-languages ← downstream of org.apache.camel:camel-core-model
  • camel-core-model ← downstream of org.apache.camel:camel-core-processor
  • camel-core-processor ← core/camel-core-processor/src/main/java/org/apache/camel/processor/CatchProcessor.java
  • camel-core-reifier ← downstream of org.apache.camel:camel-core-processor
  • camel-core-xml ← downstream of org.apache.camel:camel-core-engine
  • camel-couchbase ← downstream of org.apache.camel:camel-core-model
  • camel-couchdb ← downstream of org.apache.camel:camel-core-processor
  • camel-cron ← downstream of org.apache.camel:camel-core-model
  • camel-crypto ← downstream of org.apache.camel:camel-core-model
  • camel-crypto-pgp ← downstream of org.apache.camel:camel-core-model
  • camel-csv ← downstream of org.apache.camel:camel-core-model
  • camel-cxf-common ← downstream of org.apache.camel:camel-core-model
  • camel-cxf-parent ← downstream of org.apache.camel:camel-core-model
  • camel-cxf-rest ← downstream of org.apache.camel:camel-core-model
  • camel-cxf-soap ← downstream of org.apache.camel:camel-core-model
  • camel-cxf-spring-common ← downstream of org.apache.camel:camel-core-model
  • camel-cxf-spring-rest ← downstream of org.apache.camel:camel-core-model
  • camel-cxf-spring-soap ← downstream of org.apache.camel:camel-core-model
  • camel-cxf-spring-transport ← downstream of org.apache.camel:camel-core-model
  • camel-cxf-transport ← downstream of org.apache.camel:camel-core-model
  • camel-cyberark-vault ← downstream of org.apache.camel:camel-core-model
  • camel-dapr ← downstream of org.apache.camel:camel-core-model
  • camel-dataformat ← downstream of org.apache.camel:camel-core-model
  • camel-dataset ← downstream of org.apache.camel:camel-core-model
  • camel-datasonnet ← downstream of org.apache.camel:camel-core-model
  • camel-dataweave ← downstream of org.apache.camel:camel-core-model
  • camel-debezium-common ← downstream of org.apache.camel:camel-core-model
  • camel-debezium-common-parent ← downstream of org.apache.camel:camel-core-model
  • camel-debezium-db2 ← downstream of org.apache.camel:camel-core-model
  • camel-debezium-maven-plugin ← downstream of org.apache.camel:camel-core-model
  • camel-debezium-mongodb ← downstream of org.apache.camel:camel-core-model
  • camel-debezium-mysql ← downstream of org.apache.camel:camel-core-model
  • camel-debezium-oracle ← downstream of org.apache.camel:camel-core-model
  • camel-debezium-parent ← downstream of org.apache.camel:camel-core-model
  • camel-debezium-postgres ← downstream of org.apache.camel:camel-core-model
  • camel-debezium-sqlserver ← downstream of org.apache.camel:camel-core-model
  • camel-debug ← downstream of org.apache.camel:camel-core-model
  • camel-dfdl ← downstream of org.apache.camel:camel-core-model
  • camel-dhis2 ← downstream of org.apache.camel:camel-core-model
  • camel-dhis2-api ← downstream of org.apache.camel:camel-core-model
  • camel-dhis2-parent ← downstream of org.apache.camel:camel-core-model
  • camel-diagram ← downstream of org.apache.camel:camel-core-model
  • camel-direct ← downstream of org.apache.camel:camel-core-model
  • camel-disruptor ← downstream of org.apache.camel:camel-core-model
  • camel-djl ← downstream of org.apache.camel:camel-core-model
  • camel-dns ← downstream of org.apache.camel:camel-core-model
  • camel-docker ← downstream of org.apache.camel:camel-core-model
  • camel-docling ← downstream of org.apache.camel:camel-core-model
  • camel-drill ← downstream of org.apache.camel:camel-core-model
  • camel-dropbox ← downstream of org.apache.camel:camel-core-model
  • camel-dsl-modeline ← downstream of org.apache.camel:camel-test-junit6
  • camel-dsl-support ← downstream of org.apache.camel:camel-core-model
  • camel-duckdb ← downstream of org.apache.camel:camel-core-model
  • camel-dynamic-router ← downstream of org.apache.camel:camel-core-processor
  • camel-ehcache ← downstream of org.apache.camel:camel-core-model
  • camel-elasticsearch ← downstream of org.apache.camel:camel-core-model
  • camel-elasticsearch-rest-client ← downstream of org.apache.camel:camel-core-model
  • camel-event ← downstream of org.apache.camel:camel-core-model
  • camel-exec ← downstream of org.apache.camel:camel-core-model
  • camel-fastjson ← downstream of org.apache.camel:camel-core-model
  • camel-fhir ← downstream of org.apache.camel:camel-core-model
  • camel-fhir-api ← downstream of org.apache.camel:camel-core-model
  • camel-fhir-parent ← downstream of org.apache.camel:camel-core-model
  • camel-file ← downstream of org.apache.camel:camel-core-model
  • camel-file-watch ← downstream of org.apache.camel:camel-core-model
  • camel-flatpack ← downstream of org.apache.camel:camel-core-model
  • camel-flink ← downstream of org.apache.camel:camel-core-model
  • camel-flowable ← downstream of org.apache.camel:camel-core-model
  • camel-fop ← downstream of org.apache.camel:camel-core-model
  • camel-fory ← downstream of org.apache.camel:camel-core-model
  • camel-freemarker ← downstream of org.apache.camel:camel-core-model
  • camel-ftp ← downstream of org.apache.camel:camel-core-model
  • camel-ftp-common ← downstream of org.apache.camel:camel-core-model
  • camel-geocoder ← downstream of org.apache.camel:camel-core-model
  • camel-git ← downstream of org.apache.camel:camel-core-model
  • camel-github2 ← downstream of org.apache.camel:camel-core-model
  • camel-google-bigquery ← downstream of org.apache.camel:camel-core-model
  • camel-google-calendar ← downstream of org.apache.camel:camel-core-model
  • camel-google-common ← downstream of org.apache.camel:camel-core-model
  • camel-google-drive ← downstream of org.apache.camel:camel-core-model
  • camel-google-firestore ← downstream of org.apache.camel:camel-core-model
  • camel-google-functions ← downstream of org.apache.camel:camel-core-model
  • camel-google-mail ← downstream of org.apache.camel:camel-core-model
  • camel-google-parent ← downstream of org.apache.camel:camel-core-model
  • camel-google-pubsub ← downstream of org.apache.camel:camel-core-model
  • camel-google-secret-manager ← downstream of org.apache.camel:camel-core-model
  • camel-google-sheets ← downstream of org.apache.camel:camel-core-model
  • camel-google-speech-to-text ← downstream of org.apache.camel:camel-core-model
  • camel-google-storage ← downstream of org.apache.camel:camel-core-model
  • camel-google-text-to-speech ← downstream of org.apache.camel:camel-core-model
  • camel-google-vertexai ← downstream of org.apache.camel:camel-core-model
  • camel-google-vision ← downstream of org.apache.camel:camel-core-model
  • camel-graphql ← downstream of org.apache.camel:camel-core-model
  • camel-grok ← downstream of org.apache.camel:camel-core-model
  • camel-groovy ← downstream of org.apache.camel:camel-core-model
  • camel-grpc ← downstream of org.apache.camel:camel-core-model
  • camel-gson ← downstream of org.apache.camel:camel-core-model
  • camel-hashicorp-vault ← downstream of org.apache.camel:camel-core-model
  • camel-hazelcast ← downstream of org.apache.camel:camel-core-model
  • camel-hibernate ← downstream of org.apache.camel:camel-core-model
  • camel-hivemq ← downstream of org.apache.camel:camel-core-model
  • camel-hl7 ← downstream of org.apache.camel:camel-core-model
  • camel-http ← downstream of org.apache.camel:camel-core-model
  • camel-http-base ← downstream of org.apache.camel:camel-core-model
  • camel-http-common ← downstream of org.apache.camel:camel-core-model
  • camel-huawei-parent ← downstream of org.apache.camel:camel-core-model
  • camel-huaweicloud-common ← downstream of org.apache.camel:camel-core-model
  • camel-huaweicloud-dms ← downstream of org.apache.camel:camel-core-model
  • camel-huaweicloud-frs ← downstream of org.apache.camel:camel-core-model
  • camel-huaweicloud-functiongraph ← downstream of org.apache.camel:camel-core-model
  • camel-huaweicloud-iam ← downstream of org.apache.camel:camel-core-model
  • camel-huaweicloud-imagerecognition ← downstream of org.apache.camel:camel-core-model
  • camel-huaweicloud-obs ← downstream of org.apache.camel:camel-core-model
  • camel-huaweicloud-smn ← downstream of org.apache.camel:camel-core-model
  • camel-huggingface ← downstream of org.apache.camel:camel-core-model
  • camel-ibm-cos ← downstream of org.apache.camel:camel-core-model
  • camel-ibm-parent ← downstream of org.apache.camel:camel-core-model
  • camel-ibm-secrets-manager ← downstream of org.apache.camel:camel-core-model
  • camel-ibm-watson-discovery ← downstream of org.apache.camel:camel-core-model
  • camel-ibm-watson-language ← downstream of org.apache.camel:camel-core-model
  • camel-ibm-watson-speech-to-text ← downstream of org.apache.camel:camel-core-model
  • camel-ibm-watson-text-to-speech ← downstream of org.apache.camel:camel-core-model
  • camel-ibm-watsonx-ai ← downstream of org.apache.camel:camel-core-model
  • camel-ibm-watsonx-data ← downstream of org.apache.camel:camel-core-model
  • camel-ical ← downstream of org.apache.camel:camel-core-model
  • camel-iggy ← downstream of org.apache.camel:camel-core-model
  • camel-ignite ← downstream of org.apache.camel:camel-core-model
  • camel-infinispan ← downstream of org.apache.camel:camel-core-model
  • camel-infinispan-common ← downstream of org.apache.camel:camel-core-model
  • camel-infinispan-embedded ← downstream of org.apache.camel:camel-core-model
  • camel-infinispan-parent ← downstream of org.apache.camel:camel-core-model
  • camel-influxdb ← downstream of org.apache.camel:camel-core-model
  • camel-influxdb2 ← downstream of org.apache.camel:camel-core-model
  • camel-iso8583 ← downstream of org.apache.camel:camel-core-model
  • camel-jackson ← downstream of org.apache.camel:camel-core-model
  • camel-jackson-avro ← downstream of org.apache.camel:camel-core-model
  • camel-jackson-protobuf ← downstream of org.apache.camel:camel-core-model
  • camel-jackson3 ← downstream of org.apache.camel:camel-core-model
  • camel-jackson3-avro ← downstream of org.apache.camel:camel-core-model
  • camel-jackson3-protobuf ← downstream of org.apache.camel:camel-core-model
  • camel-jackson3xml ← downstream of org.apache.camel:camel-core-model
  • camel-jacksonxml ← downstream of org.apache.camel:camel-core-model
  • camel-jactl ← downstream of org.apache.camel:camel-core-model
  • camel-jandex ← downstream of org.apache.camel:camel-core-model
  • camel-jasypt ← downstream of org.apache.camel:camel-core-model
  • camel-java-io ← downstream of org.apache.camel:camel-xml-io
  • camel-java-joor-dsl ← downstream of org.apache.camel:camel-core-languages
  • camel-javascript ← downstream of org.apache.camel:camel-core-model
  • camel-jaxb ← downstream of org.apache.camel:camel-core-model
  • camel-jbang-console ← downstream of org.apache.camel:camel-management
  • camel-jbang-mcp ← downstream of org.apache.camel:camel-xml-io
  • camel-jbang-plugin-mcp ← downstream of org.apache.camel:camel-jbang-core
  • camel-jbang-plugin-tui ← downstream of org.apache.camel:camel-test-junit6
  • camel-jbang-plugin-validate ← downstream of org.apache.camel:camel-test-junit6
  • camel-jbang-run ← downstream of org.apache.camel:camel-test-junit6
  • camel-jcache ← downstream of org.apache.camel:camel-core-model
  • camel-jcr ← downstream of org.apache.camel:camel-core-model
  • camel-jdbc ← downstream of org.apache.camel:camel-core-model
  • camel-jetty ← downstream of org.apache.camel:camel-core-model
  • camel-jetty-common ← downstream of org.apache.camel:camel-core-model
  • camel-jfr ← downstream of org.apache.camel:camel-core-model
  • camel-jgroups ← downstream of org.apache.camel:camel-core-model
  • camel-jgroups-raft ← downstream of org.apache.camel:camel-core-model
  • camel-jira ← downstream of org.apache.camel:camel-core-model
  • camel-jms ← downstream of org.apache.camel:camel-core-model
  • camel-jmx ← downstream of org.apache.camel:camel-core-model
  • camel-jolt ← downstream of org.apache.camel:camel-core-model
  • camel-jooq ← downstream of org.apache.camel:camel-core-model
  • camel-joor ← downstream of org.apache.camel:camel-core-model
  • camel-jpa ← downstream of org.apache.camel:camel-core-model
  • camel-jq ← downstream of org.apache.camel:camel-core-model
  • camel-jsch ← downstream of org.apache.camel:camel-core-model
  • camel-jslt ← downstream of org.apache.camel:camel-core-model
  • camel-json-validator ← downstream of org.apache.camel:camel-core-model
  • camel-jsonapi ← downstream of org.apache.camel:camel-core-model
  • camel-jsonata ← downstream of org.apache.camel:camel-core-model
  • camel-jsonb ← downstream of org.apache.camel:camel-core-model
  • camel-jsonpath ← downstream of org.apache.camel:camel-core-model
  • camel-jsoup ← downstream of org.apache.camel:camel-core-model
  • camel-jt400 ← downstream of org.apache.camel:camel-core-model
  • camel-jta ← downstream of org.apache.camel:camel-core-model
  • camel-jte ← downstream of org.apache.camel:camel-core-model
  • camel-kafka ← downstream of org.apache.camel:camel-core-model
  • camel-kafka-common ← downstream of org.apache.camel:camel-core-model
  • camel-kafka-share ← downstream of org.apache.camel:camel-core-model
  • camel-kamelet ← downstream of org.apache.camel:camel-core-model
  • camel-kamelet-main-support ← downstream of org.apache.camel:camel-main
  • camel-keycloak ← downstream of org.apache.camel:camel-core-model
  • camel-knative ← downstream of org.apache.camel:camel-core-model
  • camel-knative-api ← downstream of org.apache.camel:camel-core-model
  • camel-knative-http ← downstream of org.apache.camel:camel-core-model
  • camel-knative-parent ← downstream of org.apache.camel:camel-core-model
  • camel-kserve ← downstream of org.apache.camel:camel-core-model
  • camel-kubernetes ← downstream of org.apache.camel:camel-core-model
  • camel-kudu ← downstream of org.apache.camel:camel-core-model
  • camel-langchain4j-agent ← downstream of org.apache.camel:camel-core-model
  • camel-langchain4j-agent-api ← downstream of org.apache.camel:camel-core-model
  • camel-langchain4j-chat ← downstream of org.apache.camel:camel-core-model
  • camel-langchain4j-core ← downstream of org.apache.camel:camel-core-model
  • camel-langchain4j-embeddings ← downstream of org.apache.camel:camel-core-model
  • camel-langchain4j-embeddingstore ← downstream of org.apache.camel:camel-core-model
  • camel-langchain4j-embeddingstore-api ← downstream of org.apache.camel:camel-core-model
  • camel-langchain4j-ingest ← downstream of org.apache.camel:camel-core-model
  • camel-langchain4j-tokenizer ← downstream of org.apache.camel:camel-core-model
  • camel-langchain4j-web-search ← downstream of org.apache.camel:camel-core-model
  • camel-language ← downstream of org.apache.camel:camel-core-model
  • camel-launcher-container ← downstream of org.apache.camel:camel-launcher
  • camel-ldap ← downstream of org.apache.camel:camel-core-model
  • camel-ldif ← downstream of org.apache.camel:camel-core-model
  • camel-log ← downstream of org.apache.camel:camel-core-model
  • camel-lra ← downstream of org.apache.camel:camel-core-model
  • camel-lucene ← downstream of org.apache.camel:camel-core-model
  • camel-lumberjack ← downstream of org.apache.camel:camel-core-model
  • camel-lzf ← downstream of org.apache.camel:camel-core-model
  • camel-mail ← downstream of org.apache.camel:camel-core-model
  • camel-mail-microsoft-oauth ← downstream of org.apache.camel:camel-core-model
  • camel-main ← downstream of org.apache.camel:camel-core-engine
  • camel-management ← downstream of org.apache.camel:camel-xml-io
  • camel-mapstruct ← downstream of org.apache.camel:camel-core-model
  • camel-master ← downstream of org.apache.camel:camel-core-model
  • camel-maven-plugin ← downstream of org.apache.camel:camel-spring-main
  • camel-mcp-server ← downstream of org.apache.camel:camel-core-model
  • camel-mcp-server-api ← downstream of org.apache.camel:camel-core-model
  • camel-mdc ← downstream of org.apache.camel:camel-core-model
  • camel-metrics ← downstream of org.apache.camel:camel-core-model
  • camel-micrometer ← downstream of org.apache.camel:camel-core-model
  • camel-micrometer-observability ← downstream of org.apache.camel:camel-core-model
  • camel-micrometer-prometheus ← downstream of org.apache.camel:camel-core-model
  • camel-microprofile-config ← downstream of org.apache.camel:camel-core-model
  • camel-microprofile-fault-tolerance ← downstream of org.apache.camel:camel-core-model
  • camel-microprofile-health ← downstream of org.apache.camel:camel-core-model
  • camel-microprofile-parent ← downstream of org.apache.camel:camel-core-model
  • camel-milo ← downstream of org.apache.camel:camel-core-model
  • camel-milvus ← downstream of org.apache.camel:camel-core-model
  • camel-mina ← downstream of org.apache.camel:camel-core-model
  • camel-mina-sftp ← downstream of org.apache.camel:camel-core-model
  • camel-minio ← downstream of org.apache.camel:camel-core-model
  • camel-mllp ← downstream of org.apache.camel:camel-core-model
  • camel-mock ← downstream of org.apache.camel:camel-core-model
  • camel-mongodb ← downstream of org.apache.camel:camel-core-model
  • camel-mongodb-gridfs ← downstream of org.apache.camel:camel-core-model
  • camel-mtconnect ← downstream of org.apache.camel:camel-core-model
  • camel-mustache ← downstream of org.apache.camel:camel-core-model
  • camel-mvel ← downstream of org.apache.camel:camel-core-model
  • camel-mybatis ← downstream of org.apache.camel:camel-core-model
  • camel-nats ← downstream of org.apache.camel:camel-core-model
  • camel-neo4j ← downstream of org.apache.camel:camel-core-model
  • camel-netty ← downstream of org.apache.camel:camel-core-model
  • camel-netty-http ← downstream of org.apache.camel:camel-core-model
  • camel-oaipmh ← downstream of org.apache.camel:camel-core-model
  • camel-oauth ← downstream of org.apache.camel:camel-core-model
  • camel-observability-services ← downstream of org.apache.camel:camel-core-model
  • camel-observation ← downstream of org.apache.camel:camel-core-model
  • camel-ocsf ← downstream of org.apache.camel:camel-core-model
  • camel-odata ← downstream of org.apache.camel:camel-core-model
  • camel-ognl ← downstream of org.apache.camel:camel-core-model
  • camel-olingo2 ← downstream of org.apache.camel:camel-core-model
  • camel-olingo2-api ← downstream of org.apache.camel:camel-core-model
  • camel-olingo2-parent ← downstream of org.apache.camel:camel-core-model
  • camel-olingo4 ← downstream of org.apache.camel:camel-core-model
  • camel-olingo4-api ← downstream of org.apache.camel:camel-core-model
  • camel-olingo4-parent ← downstream of org.apache.camel:camel-core-model
  • camel-once ← downstream of org.apache.camel:camel-core-model
  • camel-opa ← downstream of org.apache.camel:camel-core-model
  • camel-openai ← downstream of org.apache.camel:camel-core-model
  • camel-openapi-java ← downstream of org.apache.camel:camel-core-model
  • camel-openapi-rest-dsl-generator ← downstream of org.apache.camel:camel-core-model
  • camel-openapi-validator ← downstream of org.apache.camel:camel-core-model
  • camel-openfeature ← downstream of org.apache.camel:camel-core-model
  • camel-openfga ← downstream of org.apache.camel:camel-core-model
  • camel-opensearch ← downstream of org.apache.camel:camel-core-model
  • camel-openstack ← downstream of org.apache.camel:camel-core-model
  • camel-opentelemetry ← downstream of org.apache.camel:camel-core-model
  • camel-opentelemetry-metrics ← downstream of org.apache.camel:camel-core-model
  • camel-opentelemetry2 ← downstream of org.apache.camel:camel-core-model
  • camel-optaplanner ← downstream of org.apache.camel:camel-core-model
  • camel-paho ← downstream of org.apache.camel:camel-core-model
  • camel-paho-mqtt5 ← downstream of org.apache.camel:camel-core-model
  • camel-parquet-avro ← downstream of org.apache.camel:camel-core-model
  • camel-pdf ← downstream of org.apache.camel:camel-core-model
  • camel-pg-replication-slot ← downstream of org.apache.camel:camel-core-model
  • camel-pgevent ← downstream of org.apache.camel:camel-core-model
  • camel-pgvector ← downstream of org.apache.camel:camel-core-model
  • camel-pinecone ← downstream of org.apache.camel:camel-core-model
  • camel-platform-http ← downstream of org.apache.camel:camel-core-model
  • camel-platform-http-jolokia ← downstream of org.apache.camel:camel-core-model
  • camel-platform-http-main ← downstream of org.apache.camel:camel-core-model
  • camel-platform-http-vertx ← downstream of org.apache.camel:camel-core-model
  • camel-plc4x ← downstream of org.apache.camel:camel-core-model
  • camel-pqc ← downstream of org.apache.camel:camel-core-model
  • camel-printer ← downstream of org.apache.camel:camel-core-model
  • camel-protobuf ← downstream of org.apache.camel:camel-core-model
  • camel-pubnub ← downstream of org.apache.camel:camel-core-model
  • camel-pulsar ← downstream of org.apache.camel:camel-core-model
  • camel-python ← downstream of org.apache.camel:camel-core-model
  • camel-python3 ← downstream of org.apache.camel:camel-core-model
  • camel-qdrant ← downstream of org.apache.camel:camel-core-model
  • camel-quartz ← downstream of org.apache.camel:camel-core-model
  • camel-quickfix ← downstream of org.apache.camel:camel-core-model
  • camel-quickjs ← downstream of org.apache.camel:camel-core-model
  • camel-reactive-streams ← downstream of org.apache.camel:camel-core-model
  • camel-reactor ← downstream of org.apache.camel:camel-core-model
  • camel-redis ← downstream of org.apache.camel:camel-core-model
  • camel-ref ← downstream of org.apache.camel:camel-core-model
  • camel-resilience4j ← downstream of org.apache.camel:camel-core-model
  • camel-resilience4j-micrometer ← downstream of org.apache.camel:camel-core-model
  • camel-resourceresolver-github ← downstream of org.apache.camel:camel-core-model
  • camel-rest ← downstream of org.apache.camel:camel-core-model
  • camel-rest-openapi ← downstream of org.apache.camel:camel-core-model
  • camel-rest-postman ← downstream of org.apache.camel:camel-core-model
  • camel-restdsl-openapi-plugin ← downstream of org.apache.camel:camel-core-engine
  • camel-robotframework ← downstream of org.apache.camel:camel-core-model
  • camel-rocketmq ← downstream of org.apache.camel:camel-core-model
  • camel-rss ← downstream of org.apache.camel:camel-core-model
  • camel-rxjava ← downstream of org.apache.camel:camel-core-model
  • camel-saga ← downstream of org.apache.camel:camel-core-model
  • camel-salesforce ← downstream of org.apache.camel:camel-core-model
  • camel-salesforce-codegen ← downstream of org.apache.camel:camel-core-model
  • camel-salesforce-maven-plugin ← downstream of org.apache.camel:camel-core-model
  • camel-salesforce-parent ← downstream of org.apache.camel:camel-core-model
  • camel-sap-netweaver ← downstream of org.apache.camel:camel-core-model
  • camel-saxon ← downstream of org.apache.camel:camel-core-model
  • camel-scheduler ← downstream of org.apache.camel:camel-core-model
  • camel-schematron ← downstream of org.apache.camel:camel-core-model
  • camel-seda ← downstream of org.apache.camel:camel-core-model
  • camel-semantic ← downstream of org.apache.camel:camel-core-model
  • camel-semantic-openai ← downstream of org.apache.camel:camel-core-model
  • camel-semantic-typesafe-ai ← downstream of org.apache.camel:camel-core-model
  • camel-semantic-wolf-defender ← downstream of org.apache.camel:camel-core-model
  • camel-servicenow ← downstream of org.apache.camel:camel-core-model
  • camel-servicenow-maven-plugin ← downstream of org.apache.camel:camel-core-model
  • camel-servicenow-parent ← downstream of org.apache.camel:camel-core-model
  • camel-servlet ← downstream of org.apache.camel:camel-core-model
  • camel-shell ← downstream of org.apache.camel:camel-core-model
  • camel-shiro ← downstream of org.apache.camel:camel-core-model
  • camel-sjms ← downstream of org.apache.camel:camel-core-model
  • camel-sjms2 ← downstream of org.apache.camel:camel-core-model
  • camel-slack ← downstream of org.apache.camel:camel-core-model
  • camel-smb ← downstream of org.apache.camel:camel-core-model
  • camel-smooks ← downstream of org.apache.camel:camel-core-model
  • camel-smpp ← downstream of org.apache.camel:camel-core-model
  • camel-snakeyaml ← downstream of org.apache.camel:camel-core-model
  • camel-snmp ← downstream of org.apache.camel:camel-core-model
  • camel-soap ← downstream of org.apache.camel:camel-core-model
  • camel-solr ← downstream of org.apache.camel:camel-core-model
  • camel-spiffe ← downstream of org.apache.camel:camel-core-model
  • camel-splunk-hec ← downstream of org.apache.camel:camel-core-model
  • camel-spring ← downstream of org.apache.camel:camel-core-model
  • camel-spring-ai-chat ← downstream of org.apache.camel:camel-core-model
  • camel-spring-ai-embeddings ← downstream of org.apache.camel:camel-core-model
  • camel-spring-ai-image ← downstream of org.apache.camel:camel-core-model
  • camel-spring-ai-parent ← downstream of org.apache.camel:camel-core-model
  • camel-spring-ai-vector-store ← downstream of org.apache.camel:camel-core-model
  • camel-spring-batch ← downstream of org.apache.camel:camel-core-model
  • camel-spring-cloud-config ← downstream of org.apache.camel:camel-core-model
  • camel-spring-jdbc ← downstream of org.apache.camel:camel-core-model
  • camel-spring-ldap ← downstream of org.apache.camel:camel-core-model
  • camel-spring-main ← downstream of org.apache.camel:camel-core-model
  • camel-spring-parent ← downstream of org.apache.camel:camel-core-model
  • camel-spring-rabbitmq ← downstream of org.apache.camel:camel-core-model
  • camel-spring-redis ← downstream of org.apache.camel:camel-core-model
  • camel-spring-security ← downstream of org.apache.camel:camel-core-model
  • camel-spring-ws ← downstream of org.apache.camel:camel-core-model
  • camel-spring-xml ← downstream of org.apache.camel:camel-core-model
  • camel-sql ← downstream of org.apache.camel:camel-core-model
  • camel-ssh ← downstream of org.apache.camel:camel-core-model
  • camel-state-store ← downstream of org.apache.camel:camel-core-model
  • camel-state-store-parent ← downstream of org.apache.camel:camel-core-model
  • camel-stax ← downstream of org.apache.camel:camel-core-model
  • camel-stitch ← downstream of org.apache.camel:camel-core-model
  • camel-stream ← downstream of org.apache.camel:camel-core-model
  • camel-streamcaching-test ← downstream of org.apache.camel:camel-test-junit6
  • camel-stringtemplate ← downstream of org.apache.camel:camel-core-model
  • camel-stripe ← downstream of org.apache.camel:camel-core-model
  • camel-stub ← downstream of org.apache.camel:camel-core-model
  • camel-swift ← downstream of org.apache.camel:camel-core-model
  • camel-syslog ← downstream of org.apache.camel:camel-core-model
  • camel-tahu ← downstream of org.apache.camel:camel-core-model
  • camel-tarfile ← downstream of org.apache.camel:camel-core-model
  • camel-telegram ← downstream of org.apache.camel:camel-core-model
  • camel-telemetry ← downstream of org.apache.camel:camel-core-model
  • camel-telemetry-dev ← downstream of org.apache.camel:camel-core-model
  • camel-tensorflow-serving ← downstream of org.apache.camel:camel-core-model
  • camel-test-citrus ← downstream of org.apache.camel:camel-core-model
  • camel-test-dst ← downstream of org.apache.camel:camel-core-model
  • camel-test-infra-all ← downstream of org.apache.camel:camel-test-infra-artemis
  • camel-test-infra-artemis ← downstream of org.apache.camel:camel-test-junit6
  • camel-test-infra-smb ← downstream of org.apache.camel:camel-test-junit6
  • camel-test-junit5 ← downstream of org.apache.camel:camel-core-model
  • camel-test-junit6 ← downstream of org.apache.camel:camel-core-model
  • camel-test-main-junit5 ← downstream of org.apache.camel:camel-core-model
  • camel-test-main-junit6 ← downstream of org.apache.camel:camel-core-model
  • camel-test-parent ← downstream of org.apache.camel:camel-core-model
  • camel-test-spring-junit5 ← downstream of org.apache.camel:camel-core-model
  • camel-test-spring-junit6 ← downstream of org.apache.camel:camel-core-model
  • camel-thrift ← downstream of org.apache.camel:camel-core-model
  • camel-thymeleaf ← downstream of org.apache.camel:camel-core-model
  • camel-tika ← downstream of org.apache.camel:camel-core-model
  • camel-timer ← downstream of org.apache.camel:camel-core-model
  • camel-toon ← downstream of org.apache.camel:camel-core-model
  • camel-tracing ← downstream of org.apache.camel:camel-core-model
  • camel-twilio ← downstream of org.apache.camel:camel-core-model
  • camel-twitter ← downstream of org.apache.camel:camel-core-model
  • camel-typesafe-ai ← downstream of org.apache.camel:camel-core-model
  • camel-ubl ← downstream of org.apache.camel:camel-core-model
  • camel-undertow ← downstream of org.apache.camel:camel-core-model
  • camel-undertow-spring-security ← downstream of org.apache.camel:camel-core-model
  • camel-univocity-parsers ← downstream of org.apache.camel:camel-core-model
  • camel-validator ← downstream of org.apache.camel:camel-core-model
  • camel-velocity ← downstream of org.apache.camel:camel-core-model
  • camel-vertx ← downstream of org.apache.camel:camel-core-model
  • camel-vertx-common ← downstream of org.apache.camel:camel-core-model
  • camel-vertx-http ← downstream of org.apache.camel:camel-core-model
  • camel-vertx-parent ← downstream of org.apache.camel:camel-core-model
  • camel-vertx-websocket ← downstream of org.apache.camel:camel-core-model
  • camel-wal ← downstream of org.apache.camel:camel-core-model
  • camel-wasm ← downstream of org.apache.camel:camel-core-model
  • camel-weather ← downstream of org.apache.camel:camel-core-model
  • camel-weaviate ← downstream of org.apache.camel:camel-core-model
  • camel-web3j ← downstream of org.apache.camel:camel-core-model
  • camel-webhook ← downstream of org.apache.camel:camel-core-model
  • camel-whatsapp ← downstream of org.apache.camel:camel-core-model
  • camel-wordpress ← downstream of org.apache.camel:camel-core-model
  • camel-workday ← downstream of org.apache.camel:camel-core-model
  • camel-xchange ← downstream of org.apache.camel:camel-core-model
  • camel-xj ← downstream of org.apache.camel:camel-core-model
  • camel-xml-io ← downstream of org.apache.camel:camel-core-model
  • camel-xml-io-dsl ← downstream of org.apache.camel:camel-xml-io
  • camel-xml-jaxb ← downstream of org.apache.camel:camel-core-model
  • camel-xml-jaxb-dsl ← downstream of org.apache.camel:camel-core-languages
  • camel-xml-jaxb-dsl-test-definition ← downstream of org.apache.camel:camel-core-model
  • camel-xml-jaxb-dsl-test-spring ← downstream of org.apache.camel:camel-core-languages
  • camel-xml-jaxp ← downstream of org.apache.camel:camel-core-model
  • camel-xmlsecurity ← downstream of org.apache.camel:camel-core-model
  • camel-xmpp ← downstream of org.apache.camel:camel-core-model
  • camel-xpath ← downstream of org.apache.camel:camel-core-model
  • camel-xslt ← downstream of org.apache.camel:camel-core-model
  • camel-xslt-saxon ← downstream of org.apache.camel:camel-core-model
  • camel-yaml-dsl-common ← downstream of org.apache.camel:camel-core-engine
  • camel-yaml-dsl-validator ← downstream of org.apache.camel:camel-xml-io
  • camel-yaml-dsl-validator-maven-plugin ← downstream of org.apache.camel:camel-yaml-dsl-validator
  • camel-yaml-io ← downstream of org.apache.camel:camel-core-model
  • camel-zendesk ← downstream of org.apache.camel:camel-core-model
  • camel-zip-deflater ← downstream of org.apache.camel:camel-core-model
  • camel-zipfile ← downstream of org.apache.camel:camel-core-model
  • camel-zookeeper ← downstream of org.apache.camel:camel-core-model
  • camel-zookeeper-master ← downstream of org.apache.camel:camel-core-model
  • components ← downstream of org.apache.camel:camel-core-model
Modules with tests skipped (26)
  • apache-camel
  • camel-allcomponents
  • camel-catalog
  • camel-catalog-console
  • camel-catalog-maven
  • camel-catalog-suggest
  • camel-componentdsl
  • camel-endpointdsl
  • camel-endpointdsl-support
  • camel-itest
  • camel-jbang-core
  • camel-jbang-it
  • camel-jbang-main
  • camel-jbang-plugin-edit
  • camel-jbang-plugin-generate
  • camel-jbang-plugin-kubernetes
  • camel-jbang-plugin-test
  • camel-kamelet-main
  • camel-launcher
  • camel-report-maven-plugin
  • camel-route-parser
  • camel-yaml-dsl
  • camel-yaml-dsl-deserializers
  • camel-yaml-dsl-maven-plugin
  • coverage
  • dummy-component

ℹ️ Shadow mode — Scalpel observes but does not affect test execution. Learn more

⚠️ Some tests are disabled on GitHub Actions (@DisabledIfSystemProperty(named = "ci.env.name")) and require manual verification:

  • core/camel-core: 4 test(s) disabled on GitHub Actions
Build reactor — dependencies compiled but only changed modules were tested (3 modules, 23.9s total)

Total reactor time: 23.9s

Module Duration Status
Camel :: Docs 13.5s SUCCESS
Camel :: Core Processor 10.4s SUCCESS
Camel :: Core n/a

Top 20 slowest modules:

  • Camel :: Docs (13.5s)
  • Camel :: Core Processor (10.4s)

⚙️ View full build and test results

@davsclaus davsclaus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TL;DR: Thanks @allthingssecurity, a careful fix: CatchProcessor now clears the callee's failure marks while the doCatch block runs, as FinallyProcessor does since #28756, and the in-route controls show both paths now behave the same. Leaving it as a comment for now: the branch predates #28756 and the doCatch + two-step doFinally test promised for that point is still missing (finding 1). The rest are follow-ups and small items.

What I checked:

  • The clear-on-take-over and one-way restore in the callback, against RedeliveryErrorHandler, PipelineHelper.continueProcessing, the AbstractExchange copy constructor and the other readers of the "not handled" mark (BridgeExceptionHandlerToErrorHandler, DefaultErrorRegistry, ShareUnitOfWorkAggregationStrategy); they now match the in-route case. CAMEL-2577/7275, CAMEL-25114 and CAMEL-26332/26333 are not reverted; the cost is on the failure path only, and the async path is covered.
  • Ran 134 doTry/doCatch/doFinally tests of camel-core, 0 failures, on main (with #28756) + this PR + #28779, plus probes against in-route controls: a DLC-handled callee followed by a two-step doFinally, and a called route with a routingSlip/multicast under maximumRedeliveries(2) (3 attempts, as the control).
  • #28779 merges cleanly in either order (only the upgrade guide is shared) and complements this PR: this one makes the called route's error handler run at all, #28779 gives its EIP outputs one.

Findings:

  1. Please rebase on main and add the doCatch + two-step doFinally test now. #28756 was merged on 2026-10-31 (ba044ff), and the branch is still on 0fd7d9a. The description promises this test "once #28756 is merged". I checked the case on the merged tree and it passes, so it should be a quick addition.

  2. Please file the follow-up JIRA described in the PR and link it from CAMEL-26434. Here is one more case for it, reproduced on the merged tree. A route with a DLC calls direct:inner. In direct:inner, the doTry calls a route that fails unhandled and the doCatch throws. The outer DLC does not run and the exchange fails with the doCatch's exception. With the in-route control (the doTry throws in direct:inner itself), the outer DLC gets the message. This happens because failureHandled is set again at CatchProcessor.java:214-223. That is the same on main, so it is not a regression, but it is the same root cause as the follow-up.

  3. (minor) Upgrade guide, camel-4x-upgrade-guide-4_24.adoc:198: the entry is 3 paragraphs, and the second one lists 8 secondary effects in a single sentence chain. Consider a short lead paragraph followed by a bullet list (later doTry / onCompletion / copies by split and the like / onException / bridgeErrorHandler / error registry and JMX). It would scan better next to the #28779 and #28756 entries for the same area.

  4. (minor) CatchProcessor.java:218: the restore of a true handled mark is defensive, and the description says no test reaches it. Keeping it for symmetry with FinallyProcessor is fine. Consider saying in the comment that it is unreachable today, so a later reader does not hunt for the case.

  5. (minor, test) DoCatchCalledRouteAfterUnhandledCalleeTest.java:281 asserts that the thread name contains "Delay", which ties the test to the delayer's thread naming. assertNotEquals(startThread, ...), as in asynchronousCallee, would check the same thing without depending on the name. The getReceivedCounter() checks after a synchronous template.send are deterministic, so they are fine as they are.


Claude Code on behalf of Claus Ibsen. This review was generated by an AI agent and may contain inaccuracies; please verify all suggestions before applying.

@allthingssecurity

Copy link
Copy Markdown
Contributor Author

The follow-up is filed and linked from CAMEL-26434: CAMEL-26447. It has your nested direct:inner case (the outer DLC gets 0 via the callee and 1 with the in-route control), the later failure in the calling route, and a route called from the doFinally, each with its in-route control, reproduced on main plus this PR.

Claude Code on behalf of allthingssecurity

@davsclaus davsclaus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TL;DR: Approve. Thanks @allthingssecurity, a95c66f covers all five points: the branch has #28756, doFinallyWithTwoStepsAfterDoCatchCalledRouteHandledItsFailure and its control are in, CAMEL-26447 is filed for the follow-up (with the outer dead letter channel case), the upgrade guide is a list, the comment at CatchProcessor.java:189 says the true-mark restore is kept for symmetry, and the thread assertion no longer depends on the delayer's thread name. CI is green.

Small thing: the PR body still says the follow-up JIRA "is drafted and will be linked"; it is CAMEL-26447 now.


Claude Code on behalf of Claus Ibsen. This review was generated by an AI agent and may contain inaccuracies; please verify all suggestions before applying.

@allthingssecurity

Copy link
Copy Markdown
Contributor Author

Thanks for the review. Fixes are in a95c66f. The branch now includes main (merge commits bdef13d and baedff3, no rebase).

  1. Main (with CAMEL-26333: camel-core - doFinally runs only its first step after a called route's error handler handled a failure #28756) is merged into the branch, and the promised test is in: doFinallyWithTwoStepsAfterDoCatchCalledRouteHandledItsFailure, plus its in-route control. The route called from the doCatch handles its failure, both doFinally steps run, and the caller stops after the doTry. With the CatchProcessor of main the test fails: the exchange fails with the called route's exception.
  2. The follow-up JIRA is drafted and will be linked from CAMEL-26434 shortly. It includes your nested direct:inner case, which I reproduced on the merged tree with a scratch test. Via the callee the outer DLC gets nothing and the exchange fails with the doCatch's IllegalStateException. In the in-route control the outer DLC gets the message. The PR description lists this case under the follow-up.
  3. The upgrade guide entry is now a lead paragraph plus a bullet list of the other effects, then the way back.
  4. The CatchProcessor comment now says that no known case reaches the restore of a true mark, and that it is kept for symmetry with FinallyProcessor. I also checked a handled onException in the callee whose handler throws: it does not reach that branch either.
  5. The async test now asserts assertNotEquals(startThread, ...) (plus assertNotNull) instead of matching the "Delay" thread name.

Tests: the class now has 23 tests, and 14 of them fail with the CatchProcessor of main. 20 runs in one JVM: 460 tests. On the tree merged with main 0c2d477, the org.apache.camel.processor.** tests and the doTry/redelivery/error handler/exception tests of org.apache.camel.issues gave 2980 tests, 0 failures. After the review commit and the merge of f901a8c: the doTry/doCatch/doFinally and split tests of camel-core, 410 tests, 0 failures. The description is updated.

Claude Code on behalf of allthingssecurity

@davsclaus davsclaus added this to the 4.24.0 milestone Nov 1, 2026
@davsclaus davsclaus added the bug Something isn't working label Nov 1, 2026
@davsclaus
davsclaus merged commit 9f4e799 into apache:main Nov 1, 2026
7 checks passed

@gnodet-bot gnodet-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct and carefully scoped fix. CatchProcessor now clears callee failure marks before the doCatch block runs and restores them in the async done() callback, mirroring FinallyProcessor's pattern from #28756 with the necessary additional handling of the "failure handled but not error-handler-handled" case.

Fix analysis — CatchProcessor.java

The snapshot/restore logic is sound. When a callee fails unhandled (default error handler), its error handler sets errorHandlerHandled=false and failureHandled=true. Without this fix, both stale marks leak into the doCatch block's route call, causing RedeliveryErrorHandler to bail out early (line 789 checks isErrorHandlerHandledSet and returns immediately if set). The fix correctly clears both marks before the doCatch processor runs.

The asymmetry with FinallyProcessor is correct and necessary: CatchProcessor must clear and restore both marks because unhandled callees set both; FinallyProcessor only triggers on errorHandlerHandled (set AND true) because by the time doFinally runs, the doCatch block has already consumed the exception.

The restore condition for errorHandlerHandled — guarded by !ext.isErrorHandlerHandledSet() — is precisely right: if a DLC inside the doCatch block already handled the failure, that outcome must be preserved, not overwritten by the callee's stale false.

All captured variables (ext, failureHandled, errorHandlerHandled, restore) are declared final, which is correct for the async callback closure.

Tests

Comprehensive: viaCallee routes exercise the bug path (callee's error handler sets both marks), inRoute variants confirm unaffected baseline, async variants cover the asyncDelayed() case, and the nested case verifies DLC-handled inner failures stop the caller correctly. Each test runs in its own CamelContext (via ContextTestSupport), so mock endpoint counts and AtomicInteger attempt counters are properly isolated.

Upgrade guide

Complete and well-explained. The three scenarios (no-handler, default-EH, DLC) are all covered.


This review was generated by an AI agent, Hermès on behalf of @gnodet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working core docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants