Working with message priority in AMQ 7.

Solution Verified - Updated -

Issue

  • Is it correct that this is enabled by default and therefore should not be added to the broker URL?
    "?jms.messagePrioritySupported=true"

  • In earlier versions of activemq (5-6) you can add message prior for a specific queue in de activemq.xml like this

<policyEntries>
  <policyEntry queue="TestQueue" prioritizedMessages="true"/>
</policyEntries>
  • How can you add message priority config to the broker.xml in Artemis?
  • Our requirement is that the amq admins want to control the prioritizing of messages and not let the producers decide.
    Because else every developer can give a message prior of 9 for messages from his application. Then there is also no point of using message priorities. Just want to know if there is something the admins can use in case of "misbehaviour" by the producers.

Environment

  • Red Hat AMQ
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content