2. Symfony and RabbitMQ
Agenda
• Story 1: For those who not used queueing before
• Story 2: For those who started using queueing
• Story 3: For those who have to scale and distribute
• Story 4: Symfony2 Integration
45. Symfony and RabbitMQ
Dead Letter Exchanges
• Delayed Messages (Events)
• Retries
• Errors processing
• etc.
46. Symfony and RabbitMQ
Dead Letter Exchanges
• The message is rejected
(basic.reject or basic.nack)
with requeue=false
• The TTL for the message expires;
• The queue length limit is exceeded.
48. Symfony and RabbitMQ
Dead Letter Messages
x-death header:
queue – name of the queue the message was in before
reason – rejected | expired | maxlen
time – timestamp the message was dead lettered
exchange – the exchange the message was published to
routing-keys – the routing keys the message was published with.
original-expiration – the original expiration message property