Hi Martin,

Are you running on Karaf or standalone (for both client and broker) ?

I guess you have to provide the transaction context on the session.

Regards
JB

> Le 2 mai 2021 à 09:52, Martin Lichtin <lich...@yahoo.com.INVALID> a écrit :
> 
> Looks like I ran into changes https://issues.apache.org/jira/browse/AMQ-2659
> and will need to adapt to it.
> 
> On 01.05.2021 16:15, Martin Lichtin wrote:
>> Hi
>> Has anyone also noticed an issue with queue browsing with 5.16.2?
>> It happens when using an XA connection and starting a session without a 
>> transaction context.
>> This always worked fine but no longer does, instead one can see a exception, 
>> but only when debug log is turned on
>> 
>> javax.jms.JMSException: Session's XAResource has not been enlisted in a 
>> distributed transaction.
>>     at 
>> org.apache.activemq.ActiveMQXASession.doStartTransaction(ActiveMQXASession.java:101)
>>  ~[?:?]
>> 
>> I'll investigate further, just wanted to see if this is already a known 
>> issue.
>> 
>> - Martin

Reply via email to