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

- Changed test configuration to resolve transport type dynamically.

(cherry picked from commit dc07d218fb645133d7b47f36eceb96c5f444bfca)