按消息或相关性标识符从队列中检索消息将降低应用程序的性能。
Retrieving messages from a queue by message or correlation identifiers will reduce application performance.
要从队列中读取消息(在本例中最终涉及到从文件系统中读取数据,因为我们使用文件系统的JNDI标识符),使用清单11中的代码。
To read the message from the queue (which in this case ultimately involves reading from the file system since we use the JNDI identifier for the file system), use the code in Listing 11.
将要发送到response队列的消息必须具有相同的消息标识符。
The message you will send to the RESPONSE queue must have the same message identifier.
应用推荐