How Does A Distributed Queue Work?

Let's say that the distributed queue has broker A, B and C. Within the message queuing protocol, there is also a publisher who operates from queue A. The distributed message queue then ensures that those who are on the A and B queue receive messages from A and B, leaving C blank.