2 years ago
#65215
Rami Bader
ActiveMQ high priority messages consumed slowly
I have a queue with a huge amount of messages with normal priority, when I push high priority message into the queue it takes around 2 minutes to dispatch which is too slow.
I've noticed that when I click refresh inside the queue over ActiveMQ console then sort the priority descending, the high priority messages consumed very quickly.
I have 2 consumers for this queue with below configurations:
apache-activemq-5.15.11
prioritizedMessages="true" useCache="false"
constantPendingMessageLimitStrategy limit="1"
jms.prefetchPolicy.all=1
java
spring-boot
activemq
java
spring-boot
activemq
0 Answers
Your Answer