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

Persistent priority messages not dispatched according to their priority

XMLWordPrintable

    • Hide

      Will attach a test case shortly that reproduces the problem.

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

      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.

            dejanbosanac Dejan Bosanac
            rhn-support-tmielke Torsten Mielke
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: