MULE-6577: Failure to propagate the correlation ID across JMS queues

- Changed test configuration to resolve transport type dynamically.

(cherry picked from commit dc07d218fb645133d7b47f36eceb96c5f444bfca)
(cherry picked from commit cfbd96577f283c2616e5242b37c68fabfc6298ab)
(cherry picked from commit 8255c63f166445a05fc747bc9d9366e4d35226d1)