Dead-letter-exchange example in PHP and RabbitMQ

Hello! It’s been a while. I recently had to setup a way to delay messages sent into a RabbitMQ queue, that is, publish a message to be received n seconds from now. The topic is not new and neither is its solution but I feel it was rather poorly covered and explained. I decided to package up an example in PHP with plenty of commentary.

You can find it here. Oh! And make sure you have RabbitMQ version >= 2.8!

This entry was posted in Uncategorized and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s