[
https://issues.apache.org/jira/browse/CAMEL-26723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18140411#comment-18140411
]
Claus Ibsen commented on CAMEL-26723:
-------------------------------------
Merged in #29393 (fc5c0e3a84d0): ! on the Errors tab makes a chaos rule of a
real error.
_Claude Code on behalf of Claus Ibsen_
> camel-jbang - make a chaos rule of a real error, to prove a fix against the
> same failure
> ----------------------------------------------------------------------------------------
>
> Key: CAMEL-26723
> URL: https://issues.apache.org/jira/browse/CAMEL-26723
> Project: Camel
> Issue Type: New Feature
> Components: camel-jbang
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 4.24.0
>
>
> W-5 of the stage 2 decisions on CAMEL-26607.
> On the Errors tab of the Camel TUI, {{!}} on an error opens the Chaos screen
> with a rule that makes the same error again: at the step where it happened
> (else its endpoint, else its route), with the same exception and message, or
> {{status=}} for an HTTP error, and {{until=10}} so it stops by itself, such
> as {{step=callStock error exception=java.net.ConnectException
> message="Connection refused" until=10}}. The rule is typed in, to change
> before Enter, and is added after the usual confirmation. Only when chaos is
> on in the integration.
> Why: you fix the bug, and then prove the fix against the same failure,
> without waiting for it to happen again.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)