You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2026/07/12 16:54:00 UTC
[jira] [Work started] (CAMEL-24028) Fix flaky JmsTransactedDeadLetterChannelNotHandlerRollbackOnExceptionIT
[ 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)