https://issues.apache.org/jira/browse/AMQCPP-589
https://issues.apache.org/jira/browse/AMQCPP-588

Fix NPE error.
Update onMessage processing to always incluide the error cause exception
so that the poison cause in DLQ contains the original error message.
(cherry picked from commit ce523a140112d4d654e8ae660893e09bf9ffd7c3)
5 files changed