Claus Ibsen created CAMEL-25589:
-----------------------------------
Summary: camel-hazelcast - the transacted SEDA consumer takes a
rolled back message again at once, without onErrorDelay
Key: CAMEL-25589
URL: https://issues.apache.org/jira/browse/CAMEL-25589
Project: Camel
Issue Type: Improvement
Components: camel-hazelcast
Reporter: Claus Ibsen
Fix For: 4.24.0
When the transacted Hazelcast SEDA consumer rolls back the transaction of a
failed exchange (or, since CAMEL-25550, of an exchange marked rollback only),
it does so in the {{done()}} callback and polls the queue again without
waiting: the {{onErrorDelay}} back off applies only to an exception thrown from
the poll itself. A message that always fails is then taken and rolled back in a
tight loop. Apply {{onErrorDelay}} after a rolled back exchange as well.
Found in the review of https://github.com/apache/camel/pull/27681
--
This message was sent by Atlassian Jira
(v8.20.10#820010)