Tuesday, 7 January 2014

how to implement Request reply scenario in MQ?

In this scenario, the connector sends a message from the input link to the request queue, and then blocks and waits for the corresponding reply message on the reply queue. The connector repeats this procedure for all messages that arrive on the input link when the job runs. 
MQINPUT 
Creates a request message.
Sends the request message to the target queue Opens the 

MQOUT 
Target Queue in the Reply to queue property(set the property REPLY_TO_QUEUE).
Issues a call to receive the reply messages when the message identifier of the request message matches the correlation identifier of the reply message.

No comments:

Post a Comment