0

I want to access the x-first-death-queue header attribute of a dead lettered message, so i can create an header exchange which puplishs the message to queues which have the right binding.

The bindings of the header exchange are following:


First binding:

To:

queue1

Arguments:

x-first-death-queue: queue1

x-match: all


Second binding:

To:

queue2

Arguments:

x-first-death-queue: queue2

x-match: all


The Problem is, that the exchange is puplishing the messages in both queues and i dont know why.

0 Answers0