https://issues.apache.org/jira/browse/AMQ-5317 fix and test