Claus Ibsen created CAMEL-26817:
-----------------------------------

             Summary: camel-chaos - every suggested rule says what should hold: 
an expectation by default
                 Key: CAMEL-26817
                 URL: https://issues.apache.org/jira/browse/CAMEL-26817
             Project: Camel
          Issue Type: Improvement
            Reporter: Claus Ibsen
             Fix For: 4.24.0


What to try (camel cmd chaos-suggest, ChaosManager.suggest(), key w in the TUI) 
suggests rules per route, but only the hand-off suggestion 
(orders->shipping:lost<=0) and a duplicate with a receiving route carry an 
expectation. A chaos experiment needs at least one, so the other suggestions 
cannot be run as an experiment as they are, and a rule added from one passes 
whatever happens.

Every suggestion without an expectation gets expect=<route>:failed<=0: whatever 
the fault does, every exchange it hits in the route is recovered by redelivery 
or handled by the error handler, and none just fails. A route without error 
handling then fails the verdict (the finding), and one with a dead letter 
channel, retries or a circuit breaker passes; messages lost at the dead letter 
channel fail it as before.

This is step 1 of the start dialog of an exploration in the Camel TUI (let 
there be chaos, CAMEL-26760): pick suggested rules and run one experiment each.

_Claude Code on behalf of davsclaus_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to