Skip to content

CAMEL-23624: Add camel get error CLI command#23556

Merged
davsclaus merged 2 commits into
mainfrom
CAMEL-23624
May 27, 2026
Merged

CAMEL-23624: Add camel get error CLI command#23556
davsclaus merged 2 commits into
mainfrom
CAMEL-23624

Conversation

@davsclaus
Copy link
Copy Markdown
Contributor

Summary

  • Add camel get error CLI command to browse captured routing errors from the ErrorRegistry
  • Add server-side filtering to the errors dev console: exception (type substring), ago (time window), handled (true/false)
  • Wire the errors dev console into LocalCliConnector status JSON

CLI options

Option Description
--route Filter by route ID
--exception Filter by exception type (substring match)
--ago Filter by time window (e.g. 60s, 5m, 1h)
--handled Filter by handled status (true or false)
--limit Maximum number of entries to display
--sort Sort by pid, name, or age
--show Comma-separated detail sections: body, headers, properties, variables, history, stackTrace
--watch Execute periodically and show output fullscreen
--json Output in JSON format

Default table columns

PID | NAME | AGO | ROUTE | NODE | HANDLED | EXCEPTION | MESSAGE

Claude Code on behalf of Claus Ibsen

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
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.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions github-actions Bot added the docs label May 27, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🧪 CI tested the following changed modules:

  • core/camel-console
  • docs
  • dsl/camel-cli-connector
  • dsl/camel-jbang/camel-jbang-core

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

  • dsl/camel-jbang/camel-jbang-core: 1 test(s) disabled on GitHub Actions

💡 Manual integration tests recommended:

You modified dsl/camel-jbang/camel-jbang-core. The related integration tests in dsl/camel-jbang/camel-jbang-it are excluded from CI. Consider running them manually:

mvn verify -f dsl/camel-jbang/camel-jbang-it -Djbang-it-test
All tested modules (14 modules)
  • Camel :: All Core Sync point
  • Camel :: Console
  • Camel :: DSL :: CLI Connector
  • Camel :: DSL :: CLI Debug
  • Camel :: Diagram
  • Camel :: JBang :: Console
  • Camel :: JBang :: Core
  • Camel :: JBang :: MCP
  • Camel :: JBang :: Plugin :: Route Parser
  • Camel :: JBang :: Plugin :: TUI
  • Camel :: JBang :: Plugin :: Validate
  • Camel :: Launcher :: Container
  • Camel :: YAML DSL :: Validator
  • Camel :: YAML DSL :: Validator Maven Plugin

⚙️ View full build and test results

@davsclaus davsclaus merged commit e42a680 into main May 27, 2026
7 checks passed
@davsclaus davsclaus deleted the CAMEL-23624 branch May 27, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants