You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2021/08/03 07:23:00 UTC
[jira] [Commented] (AMQ-8213) QueueBrowser in transacted session
fails
[ https://issues.apache.org/jira/browse/AMQ-8213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17392050#comment-17392050 ]
Jean-Baptiste Onofré commented on AMQ-8213:
-------------------------------------------
This is due to this commit:
{code:java}
004be56127e7e949c8ffff8c36435ea0f27d32d4 is the first bad commit
commit 004be56127e7e949c8ffff8c36435ea0f27d32d4
Author: gtully <ga...@gmail.com>
Date: Wed Jun 13 11:48:43 2018 +0100 AMQ-2659 - make configurable based on xaAckMode, otherwise pure xa case can default to autoack in error. Additional tests
{code}
> QueueBrowser in transacted session fails
> ----------------------------------------
>
> Key: AMQ-8213
> URL: https://issues.apache.org/jira/browse/AMQ-8213
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.16.1
> Reporter: Óscar Burgos Martín
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: 5.16.3
>
>
> I have an spring application which use QueBrowser in transacted session that works with activemq 5.15.14, but if I updated it to 5.16.1, the application fail.
> I have created an application for debugging purpose here: [https://github.com/oburgosm/activemq16issue]
>
> It looks like that `ActiveMQQueueBrowser#nextElement` get a JMSException, then catch it and return null.
>
> Debugging my code I can see that ignored JMSException message is:
> Session's XAResource has not been enlisted in a distributed transaction.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)