Why do I get this message when I try to connect to a queue ?
There are two reasons why this may happen:
- The queue is on another router and you try to create a receiver on your local router on that remote queue. That's not possible. You can only create receivers on queue which is located on the router where you are connected to.
- You use session.createQueue() and don't specify the router name qualifier: <queue>@<router>.