at line 119 you send a response to the response queue by calling
第 119行,您通过调用
we create a new foreign destination on the sibus that represents the response queue in websphere mq.
我们在sibus 中创建了一个新的外部目的地,来表示webspheremq中的响应队列。
another listener, shown in listing 4, waits for messages to be published on the output topic and places those messages on the response queue for delivery to the web services client.
在 清单4 中显示的另外一个监听器,等待将消息发布到输出主题上,然后将那些消息放置在响应消息队列中,等待传输给web服务客户端。
the difference is that this pattern waits for a response message on a response queue before sending the web service reply.
该模式与前面模式的区别是,它在发送web服务回复之前等待响应队列上的响应消息。
messages returned to the response queue are application-specific.
返回到响应队列的消息是应用程序特定的。
note that a regular jms application would read the name of the response queue from the replyto field in the request message.
(请注意,常规jms应用程序将从请求消息中的replyto字段中读取响应队列的名称)。
similarly, the response queue is used as an output queue for application b and as an input queue for the return value for application a.
类似地,响应队列用作应用程序b的输出队列和应用程序a 的返回值的输入队列。
the requester can choose to enqueue a request but not wait for processing to complete, then periodically check for a response in the response queue while it performs other work.
请求者可以选择为请求排队但是不等待处理的完成。当执行其他工作时,要定时检查响应队列中的响应。