This mainly port the testcase from CAMEL-16772(camel-sjms) to ensure we don't have the similar issue in camel-jms