Skip to content

Blog: the Camel CLI in Camel 4.24 - fast, on aesh, and an AI can trust it - #1859

Draft
davsclaus wants to merge 11 commits into
mainfrom
blog/camel-cli-424
Draft

davsclaus wants to merge 11 commits into
mainfrom
blog/camel-cli-424

Conversation

@davsclaus

@davsclaus davsclaus commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

A blog post on the Camel CLI in Camel 4.24, to go out before the two chaos posts (#1852, #1853), which it does not mention.

The post covers:

  • Fast: a command takes about 125 ms instead of 1.2 s, about 10 times faster. There's a table of 6 commands, 4.23.0 against 4.24 built from main at apache/camel@bd5528c88795 (2026-11-15, with all the CLI PRs): median of 15 runs after 3 to warm up, Apple M4 Pro, Java 25, bin/camel.sh of the distributions. The post explains where the second went: only the command you run is created, no log4j unless something logs (camel ps loads 1,591 classes against 5,373 in 4.23), no terminal when there is none, no java -version, no exit wait, plain jars instead of the Spring Boot fat jar, and class data sharing (with numbers with and without it).
  • On aesh instead of picocli: why (a living project with a maintainer we can talk to, not speed); the 36 issues and 17 PRs from the port, fixed in aesh 3.19 and 3.19.1; what aesh adds to the speed (about 20 ms on version, 60 ms on --help); what changes for users and for plugin authors (link to the upgrade guide). @file arguments work as before (needs camel-jbang: upgrade aesh 3.19.1, and @file arguments again camel#29745).
  • A CLI that an AI can trust, and that keeps up with it: an agent calls the CLI 50 to 100 times per task. A second per call is minutes per task, and cheap calls let the agent verify instead of guess. An agent only has the exit code and the output, so wrong answers or hangs cost it more than the command took. Then the exit code contract, stderr, JSON, timeouts and no hang without a terminal (CAMEL-25388).
  • Keeping up with the agent (new, 2026-11-14): an action answered in about 25 ms instead of 110 ms (CAMEL-26938, #29878), run --background returning about 0.4 s after Camel started instead of 1.3 s (CAMEL-26936, #29879), camel cmd reload --wait --json (CAMEL-26939, #29882) and camel status <name> --json (CAMEL-26941, #29883). All merged.
  • The contract list, the MCP paragraph, "Keeping up" and "The smaller things" get the fixes of the CLI scan of 2026-11-13 (CAMEL-26929 to CAMEL-26934, CAMEL-26937), see the checklist below. All of them are merged.
  • Stay up to date: the web installer, LTS and X.Y selectors, and the nightly camel self-update --version SNAPSHOT.
  • Smaller things: camel cmd send --repeat/--interval and a folder body, --data-dir, dev mode reloads of beans/component properties and dependencies, the log of the previous run, Java routes read by the parser.

Each claim was checked against the 4.24 upgrade guide, the CLI help and JIRA.

Before publishing:

Claude Code on behalf of davsclaus

🤖 Generated with Claude Code

davsclaus and others added 2 commits November 12, 2026 20:42
…t it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
… fixes of the CLI scan

Adds what the CAMEL-26935 work made faster for an agent (action round trip, background
readiness, camel cmd reload --wait --json, camel status --json), and the fixes of the
CLI scan (CAMEL-26929 to CAMEL-26934) that matter to users and agents.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Preview is available at https://pr-1859--camel.netlify.app

davsclaus and others added 2 commits November 14, 2026 13:26
…v reload and the smaller fixes of the CLI scan

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
…e AI tools, catalog typos, infra stop

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Preview is available at https://pr-1859--camel.netlify.app

…reload of properties and two folders, --exclude

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Preview is available at https://pr-1859--camel.netlify.app

…alue errors

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Preview is available at https://pr-1859--camel.netlify.app

davsclaus and others added 2 commits November 15, 2026 20:39
…CP and AI tool fixes, and the fixes of the rest of the CLI scan

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Preview is available at https://pr-1859--camel.netlify.app

davsclaus and others added 3 commits November 16, 2026 22:32
…e it first-class

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…mel run has a faster Maven downloader

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

Copy link
Copy Markdown
Contributor

🚀 Preview is available at https://pr-1859--camel.netlify.app

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants