You have three choices in the way you refer to a queue in your project—you can refer to it by the path to the queue, the queue's automatically generated format name, or by the non-unique descriptive label of the queue. Each of these ways of referencing a queue has its advantages and disadvantages. For more information, see Queue Reference Recommendations.
Note When you set a queue reference, you are merely linking the MessageQueue component you created to the existing queue. You are not changing the way the actual queue itself is identified on the server.
To set a queue reference
Creating, Deleting, and Administering Queues | Queue Reference Recommendations.