artyom-tarasenko commented on PR #4529:
URL: 
https://github.com/apache/activemq-artemis/pull/4529#issuecomment-1613435520

   > This fix looks good as far as I can see, but I still don't understand why 
your session is being considered "internal" in the first place. Can you shed 
any light on this?
   
   Basically I think it's explained in the comment here:
   
https://github.com/apache/activemq-artemis/blob/main/artemis-protocols/artemis-openwire-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/openwire/OpenWireConnection.java#L189
   
   InternalSessions are used for XA-Operations, so the sessions from a 
resource-adapter ra are internal:
   
   
https://github.com/apache/activemq-artemis/blob/main/artemis-protocols/artemis-openwire-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/openwire/OpenWireConnection.java#L1464
   
https://github.com/apache/activemq-artemis/blob/main/artemis-protocols/artemis-openwire-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/openwire/OpenWireConnection.java#L1471
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to