meierhofer08 opened a new pull request #3498: URL: https://github.com/apache/activemq-artemis/pull/3498
…on reattachment Previously, when a session was reattached, all the close/failure listeners were removed from the old connection and set onto the new connection. This only worked when at most 1 session of the old connection was transferred: When the second session was transferred, the old connection already didn't contain any close/failure listeners anymore, and therefore the list of close/failure listeners was overwritten by an empty list for the new connection. Now, when a session is being transferred, it only transfers the close/failure listeners that belong to it, which are the session itself + the TempQueueCleanerUppers. Modified a test to check whether the sessions are failure listeners of the new connection after reattachment. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
