https://issues.apache.org/jira/browse/AMQ-5059

apply patch