[ 
https://issues.apache.org/jira/browse/AMQ-8213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17392050#comment-17392050
 ] 

Jean-Baptiste Onofré edited comment on AMQ-8213 at 8/3/21, 7:22 AM:
--------------------------------------------------------------------

This is due to this commit:
{code:java}
commit 004be56127e7e949c8ffff8c36435ea0f27d32d4
Author: gtully <[email protected]>
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}


was (Author: jbonofre):
This is due to this commit:
{code:java}
004be56127e7e949c8ffff8c36435ea0f27d32d4 is the first bad commit
commit 004be56127e7e949c8ffff8c36435ea0f27d32d4
Author: gtully <[email protected]>
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)

Reply via email to