https://issues.apache.org/activemq/browse/AMQCPP-150 Submitting a test case that exposes the problem.