Send messages to a distribution list
We can use a single MQPUT call to have an application send a message to several destinations.
In IBM MQ on all platforms except z/OS, an application can send a message to several destinations with a single MQPUT call. We can do so in both a distributed-queuing environment and a clustering environment. We have to define the destinations in a distribution list, as described in Distribution lists.
Not all queue managers support distribution lists. When an MCA establishes a connection with a partner, it determines whether the partner supports distribution lists and sets a flag on the transmission queue accordingly. If an application tries to send a message that is destined for a distribution list but the partner does not support distribution lists, the sending MCA intercepts the message and puts it onto the transmission queue once for each intended destination.
A receiving MCA ensures that messages sent to a distribution list are safely received at all the intended destinations. If any destinations fail, the MCA establishes which ones have failed. It then can generate exception reports for them and can try to send the messages to them again.
Parent topic: IBM MQ distributed queuing techniques