CCDT for synchronous message

74 views Asked by At

Two applications send and receive MQ message. Sending out of a message is done using CCDT (ccdt will decide on the available port for the queue). The receiving end is made sure to listen to the all the available ports through direct connection by specifying the available ports. This setup works for async messages. We have an issue with sync message. All our applications send outgoing messages using CCDT due to which even in case of sync message the response for the message might not be available under the same port as which the message was sent.

Example below App 1 sends a mq message to App 2. App 2 sends a response back to App 1. Our initial approach was to send message from App 1 to say port "1234" and then App 2 will read from same port and also reply back to same port.

There is now a multi instance queue manager and by introducing CCDT, App 1 can send message to any available port (for ex: "1234", "4321", "3214" are the available ports). App 2 is configured to listen messages from all of the mentioned port. When app 1 now sends a message and using CCDT it is put to port "4321" and waits for a response. App 2 reads the message and sends a reply back but not to the same port 4321. This is because app 2 while sending out message also uses CCDT and it could put the message into any port.

So would like to understand how can we use CCDT in same of sync messages

0

There are 0 answers