[rabbitmq-discuss] How to setup dead-letter queue in C# ?

Matthias Radestock matthias at rabbitmq.com
Tue Dec 11 12:25:25 GMT 2012


On 11/12/12 12:10, Johan Klijn wrote:
> your sample is working [...] When I specify the exchange type of
> Direct for the dead-letter-exchange it is not working.

When routing via a direct exchange you need to make sure that the 
routing key in the message matches the key in the binding, e.g. by 
supplying a x-dead-letter-routing-key argument on queue declaration.

Matthias.


More information about the rabbitmq-discuss mailing list