1

I want to have messages that end up in a Dead Letter Queue automatically deleted after a certain period of time.

My understanding of the documentation is that messages that are in the head of the queue will be automatically deleted when they expire ( TTL).

I have setup a message-ttl policy with value of 10 seconds on a dead letter queue, but messages that end up here aren't deleted. The policy is visible on the queue, so it is applied. There are no consumers added to this queue.

This is the policy:

enter image description here

Why don't the messages get deleted after 10 seconds?

Aage
  • 5,932
  • 2
  • 32
  • 57
  • 1
    Note that "DLX" stands for "Dead Letter Exchange", not "Dead Letter Queue". That's important, because exchanges don't hold messages, only queues do. – IMSoP Oct 20 '21 at 13:52
  • @IMSoP You're right, I'll remove that from the question. – Aage Oct 20 '21 at 13:59

0 Answers0