Claus Ibsen created CAMEL-18398:
-----------------------------------
Summary: camel-jbang - Startup in developer mode collect error on
startup and do not crash
Key: CAMEL-18398
URL: https://issues.apache.org/jira/browse/CAMEL-18398
Project: Camel
Issue Type: New Feature
Components: camel-jbang
Reporter: Claus Ibsen
Fix For: 3.x
When users build integrations and run with jbang they do quick prototypes and
they may make dsl mistakes, type a password wrong, or something that causes
Camel to fail on startup and crash the app.
We should make it possible to capture this during startup and gather a nice
error report to the user, where we can pinpoint to which DSL element (file
name, line number) that potentially caused this.
And we should expose this error report also via dev-console so you can see this
via /q/dev in both text and json style.
We can use the supervised route controller to avoid stopping Camel, or add some
special in camel-kamelet-main or whatnot for this kind.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)