It requires 2 queues (let's call them primary queue and waiting queue ) and 1 exchange. After creating these 2 queues successfully, again go to Exchanges tab and click on the exchange that we created in step 2. Now if you publish a message to the same waiting queue with the expiration time — 1 minute, the second message (with expiration time 1 minute) will only expire (and go to the dead-letter queue) after 1 hour.