https://issues.apache.org/jira/browse/AMQ-6094 - regression via https://issues.apache.org/jira/browse/AMQ-6014 - incorrect ref count on message expiry event during cursor move for dispatch. Fix and test - thanks for the test

(cherry picked from commit e3df09b9db09d6cf2834b0beb901c253be9b6120)
2 files changed