Santander interview question

How do queue systems guarantee the delivery of messages?