Thank you for this suggestion fjb_saper. I tried adding in the hostname and port parameters into the uri, but it didn't work. With any sort of variant - I get exceptions "Invalid value jms:/queue ...
Thank you for pointing me to that post, vennela. Indeed, good questions and excellent answers and explanations - very helpful for someone like me with little experience of JMS. It prompted me to read ...