Hi Endre-
Pro-tip— using message priority falls down at scale like your 10k use case
(using any broker product). ActiveMQ provides a really great feature to help
you with this— a Composite Queue virtual destination with broker-side
filtering.
Producer sends to queue://data.input
Consumer 1 fr
Hi!
This regards ActiveMQ Classic.
Setting:
1. Prioritization enabled on broker with policyEntry
2. 1x consumer for "Queue" with selector "JMSPriority = 9"
3. 1x consumer for "Queue" with selector "JMSPriority <> 9"
4. Send 10k messages to "Queue" in a transaction, with default pri 4