The code in Listing 8 defines proper behavior for a queue.
清单8中的代码为队列定义了适当的行为。
2
As before, the code begins by connecting to the queue manager and opening the queue handle, but this time for retrieving messages using the default queue definition.
和前面一样,该代码首先连接到队列管理器,并打开队列句柄,但这次是为了使用缺省队列定义接收消息。
3
The code gets the subscription name, the queue manager to use, and the queue name to send the message from the dialog.