Is there a way in Apache ActiveMQ 5.x to specify what happens with messages, when the queue limit is reached? I am looking for something similar to TIBCO EMS's overflow policy, where you discard old messages to pick up new ones. The closest thing I found in the docs, was the Producer Flow Control to slow down producers.
1 Answers
1
votes
The question isn't specific enough so hard to give concrete advice. The ActiveMQ 5.x broker has strategies for dealing with slow consumers or fast producers but they depend a bit on the domain (Topic or Queue).
ActiveMQ Artemis has other features like paging and other strategies that can help.
PAGE,BLOCK, orFAIL. The ring queue functionality may also be of interest. - Justin Bertram