cd7555c523
If an AMQP consumer tries to receive a message and the broker is unable to convert the message from core to AMQP then the consumer is disconnected and the offending message stays in the queue. When the consumer reconnects the conversion error will happen again resulting in a loop that can only be resolved through administrative action (e.g. deleting the message manually or sending it to a dead letter address). This commit fixes that problem by detecting the conversion problem and sending the message to the queue's dead letter address. It also doesn't disconnect the consumer. This commit also changes the log messages associated with sending a message to the dead letter address since this event can now occur regardless of the delivery attempts. |
||
---|---|---|
.. | ||
src/test | ||
.gitignore | ||
pom.xml |