[ 
https://issues.apache.org/jira/browse/CAMEL-26789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on CAMEL-26789 started by Claus Ibsen.
-------------------------------------------
> camel-chaos - an experiment passes while its rules lost messages at the dead 
> letter channel
> -------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-26789
>                 URL: https://issues.apache.org/jira/browse/CAMEL-26789
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jbang
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.24.0
>
>
> Found in a recorded "let there be chaos" run (CAMEL-26760): an experiment 
> (CAMEL-26774) where the payment service is down and the dead letter channel 
> fails too ({{endpoint=http:... error status=503 until=1m; 
> endpoint=direct:parked error at=dlq until=1m}}) ended PASS (expect 
> orders:failed<=0, 0 failed), while the report of the same run said FAIL: 
> "rule r7 failed or dropped 58 sends of the dead letter channel, which handled 
> them without delivering them: 58 lost".
> The dead letter channel handles a message it could not deliver 
> (deadLetterHandleNewException), so it neither fails nor completes in its 
> route, and no expectation on the route sees it. The report counts it as lost 
> at the dead letter channel and fails; the experiment only reads its 
> expectations.
> Fix: an experiment counts the messages its rules lost at the dead letter 
> channel ({{lostAtDeadLetterChannel}}, per rule), and its verdict is FAIL when 
> there are any, as the report's is. The journal and camel get chaos --report 
> say so.
> _Claude Code on behalf of Claus Ibsen_



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

Reply via email to