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

Persistent priority messages not dispatched according to their priority

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: JBoss A-MQ 6.1
    • Component/s: broker
    • Labels:
    • Steps to Reproduce:
      Hide

      Will attach a test case shortly that reproduces the problem.

      Show
      Will attach a test case shortly that reproduces the problem.

      Description

      Persistent priority messages do not get dispatched correctly.
      Messages with higher priority fail to be dispatched on top of default messages once a backlog on the queue accumulates.
      This happens even while the cursor holds all messages in memory, so its not related to paging in messages from the store.Broker config uses|activemq.xml|

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

      A similar but not exactly same behavior is observed when switching to vmQueueCursor.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dbosanac Dejan Bosanac
                  Reporter:
                  mielket Torsten Mielke
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: