How do I automatically cleanup expired messages
Issue
- Due to the business nature, sometimes the downstream consumer might not consume the messages in time which will often lead to producer application hung because of Producer Flow Control feature. Besides turning off the feature, customer is considering a way to automatically delete expired messages to reduce the broker's memory consumption
- What is the way to automatically delete expired messages while the application code is not changed?
Environment
- Red Hat AMQ
- 6.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.