Claus Ibsen created CAMEL-26674:
-----------------------------------

             Summary: camel-chaos - reject rules that cannot work: 
InterruptedException, component= with a colon, every:N above until, message= 
without a String constructor
                 Key: CAMEL-26674
                 URL: https://issues.apache.org/jira/browse/CAMEL-26674
             Project: Camel
          Issue Type: Bug
          Components: camel-jbang
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 4.24.0


Rules that are accepted today but never fire, or bypass the error handler:
* {{exception=java.lang.InterruptedException}} (or a subclass): the exchange is 
marked interrupted, so no {{onException}}, redelivery or dead letter channel 
runs. Reject it.
* {{component=http:localhost}}: a {{component=}} pattern is matched against the 
scheme only, so a {{:}} never matches. Reject it, pointing to {{endpoint=}}.
* {{rate=every:10 until=5}}: fires 0 times. Reject {{every:N}} with N above an 
{{until}} count.
* {{message=}} with an exception class that has only a no-argument constructor: 
the message is dropped. Reject it.
* Doc: inside a quoted value only the quote that opened it and {{\\}} are 
escapes; chaos.adoc says {{\"}} and {{\'}} both are.

Part of CAMEL-26667 (findings of the hands-on round of camel-chaos stage 1), 
which has the scenarios.

_Claude Code on behalf of Claus Ibsen_



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

Reply via email to