fix for: https://issues.apache.org/jira/browse/AMQCPP-510

patches the problem on 3.8.x branch
2 files changed