artyom-tarasenko commented on PR #4529: URL: https://github.com/apache/activemq-artemis/pull/4529#issuecomment-1613500182
> I'm still confused because the `internalSession` from `org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection` is a `org.apache.activemq.artemis.core.server.ServerSession` whereas the `session` variable being checked in `org.apache.activemq.artemis.core.protocol.openwire.amq.AMQConsumer#handleDeliver` (which you changed) is a `org.apache.activemq.artemis.core.protocol.openwire.amq.AMQSession`. I don't see the overlap here. This value appears to be coming from the OpenWire _client_. The bug is triggered when the message is delivered to a client. The way from the client to server accounts clientid, but when the message is consumed by ra client the CONNECTION_ID_PROPERTY is removed. If I understand the flow correctly, the server opens a transaction, creates an internal session and uses it to transfer the data to a subscriber. -- 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]
