Closed bogdanalbei closed 10 years ago
The SpringAMQPConsumer
endpoints create queues and bind them as specified in the URI. The dead letter channel endpoint is a SpringAMQPProducer
. It uses this URI format: spring-amqp:exchange:routingKey?params=values
.
So in your setup the exchange MangaHigh
would be created and all messages that pass through the dead letter channel would use a routing key of dead
. The last dead
token in the URI would be ignored. In this instance you would need to create the dead
queue manually (or with some other process) and bind it to the exchange using the dead
routing key.
That's what I did, I created the dead queue and setup the bind manually. I suppose what I want is more of a feature request than a bug. I'll close this. Cheers!
Hi, I have the following error handler:
The dead letter message is published into the exchange, so an additional binding has to exist for the message to get into the right queue. Is this supposed to only publish into exchanges, or should it also support pushing messages directly into the queue?