how to make common dead letter exchange to all my queues
how to make common dead letter exchange to all my queues I have a common library that handles all the configuration for the rabbitMQ and I'm aiming to achieve a common strategy to handle errors messages after certain attempts and what is in my mind have an exchange that receives all dead letter messages and will differentiate each message by having a header that has an originated queue name. this all after a number of attempts and retries. I have no idea how to implement this approach, your help to achieve this! here one of my lisnteners @RabbitListener(bindings = @QueueBinding( value = @Queue(value = "${swift.queue.driverOnlineStatus}", durable = "true"), exchange = @Exchange(value = "${swift.queue.driverExchange}", type = ExchangeTypes.HEADERS, ignoreDeclarationExceptions = "true"), arguments = { @Argument(name = "x-match", value = "all"), @Argum...