The code in Listing 8 defines proper behavior for a queue.
清单8中的代码为队列定义了适当的行为。
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.
和前面一样,该代码首先连接到队列管理器,并打开队列句柄,但这次是为了使用缺省队列定义接收消息。
The code gets the subscription name, the queue manager to use, and the queue name to send the message from the dialog.
该代码从对话框中获得订阅名、要使用的队列管理器以及要发送消息的队列名。
应用推荐