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

Óscar Burgos Martín commented on AMQ-8213:
------------------------------------------

Are you saying that it's mandatory to set property `jms.xaAckMode` in brokerURL 
or else QueueBrowser will fail? For me this a bug. Your proposed solution is 
only a workaround, I think.

> 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
>
> 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