Lady- and Gentlerabbits,
considering the following template, is every consumer of each dedicated queue receiving messages in the exact same order as the are published?

Important Notes
- Exchange A is a fanout exchange
- Application A will send each message in order with Publisher Confirms and Batch Publishing, see Code Snippet A
- Each applications has its own dedicated queue and will be consumed by only one consumer.
- RabbitMQ version is >= 3.7.5
Code Snippet A
$channel = $this->connection->channel();
$channel->set_ack_handler(
function (AMQPMessage $AMQPMessage) {
$this->acknowledge($AMQPMessage); // This will delete the message from the message buffer
}
);
$channel->confirm_select();
// Ensure exchange exists
$channel->exchange_declare($this->exchange, '', true);
$i = 0;
foreach ($this->messageBuffer->findUnsentMessages() as $message) { // This will iterate through every message from the buffer in order
$AMQPMessage = $this->converter->toAMQPMessage($message);
$channel->batch_basic_publish($AMQPMessage, $this->exchange);
if ($i % self::BATCH_SIZE === 0) {
$channel->publish_batch();
}
$i++;
}
$channel->publish_batch();
$channel->wait_for_pending_acks();
$channel->close();
Thanks in advance,
Dominik.