Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-872

Non-persistent priority messages not dispatched according to their priority

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JBoss A-MQ 6.2.1
    • JBoss A-MQ 6.1
    • broker
    • None
    • Hide

      Use attached JUnit test. Run mvn test and observe the logging output.
      Notice when priority msgs get sent, they don't get consumed within a reasonable time frame thereafter.

      Show
      Use attached JUnit test. Run mvn test and observe the logging output. Notice when priority msgs get sent, they don't get consumed within a reasonable time frame thereafter.

      Non-persistent priority messages do not get dispatched correctly, despite following the solution of ENTMQ-818.

      Messages with higher priority fail to be dispatched on top of default messages once a backlog on the queue accumulates.

      Broker config uses
      activemq.xml

      <policyEntry queue="Prioritized.Queue" prioritizedMessages="true" queuePrefetch="1" maxPageSize="1">
        <deadLetterStrategy>
          <sharedDeadLetterStrategy processExpired="false" />
        </deadLetterStrategy>
      </policyEntry>
      

            gmurthy@redhat.com Ganesh Murthy
            rhn-support-tmielke Torsten Mielke
            Tomas Plevko Tomas Plevko
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: