[
https://issues.apache.org/jira/browse/CAMEL-24028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on CAMEL-24028 started by Guillaume Nodet.
-----------------------------------------------
> Fix flaky JmsTransactedDeadLetterChannelNotHandlerRollbackOnExceptionIT
> -----------------------------------------------------------------------
>
> Key: CAMEL-24028
> URL: https://issues.apache.org/jira/browse/CAMEL-24028
> Project: Camel
> Issue Type: Bug
> Components: camel-jms
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Priority: Major
>
> The test is flaky because consumer.receiveBody() uses the transacted JMS
> component to read from the Artemis DLQ after a transaction rollback. The
> transacted session can be briefly in a closed state after the rollback,
> causing "Session is closed" errors.
> Fix: Wrap the DLQ read in Awaitility with ignoreExceptions() to retry on
> transient session-closed errors.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)