I've got 2 applications and i would like to use MQSeries to communicate in synchronous mode.
For the moment, it works like this:
The application A post a message in the Queue A
The queue A send the message in the channel
The application B receive the message via the queue B
I would like that the application A stops all traitement and waiting for a response (ACK) of application B before send another message.
It is if you code a MQGET with a wait option on the reply to queue but you will have to have some way of signalling that the application is complete if the two applications are on the same system it may not be considered to be much of an issue, but if it is on another system...watch out. You will need to code for the chance that application "B" is unavailable otherwise you could wait for a reply for a heck of a long time.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.