JMeter 5.6.3
I know its 4 years later but the answers above are almost correct but tried to connect to a queue called queue.MyApp.RequestQueue. Obviously the correction is to remove 'queue' from the value and not from the name e.g.
If it helps anyone, I was able to set the value using a variable, so I can write a common test plan for any queue.