1d1a9433bc
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. |
||
---|---|---|
.. | ||
activemq5-unit-tests | ||
artemis-test-support | ||
compatibility-tests | ||
config | ||
extra-tests | ||
integration-tests | ||
jms-tests | ||
joram-tests | ||
karaf-client-integration-tests | ||
performance-jmh | ||
performance-tests | ||
smoke-tests | ||
soak-tests | ||
stress-tests | ||
timing-tests | ||
unit-tests | ||
pom.xml |