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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Partially Completed
    • Affects Version/s: JBoss A-MQ 6.1
    • Fix Version/s: JBoss A-MQ 6.2.1
    • Component/s: broker
    • Labels:
      None
    • Environment:

      priority messages

    • Steps to Reproduce:
      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.

      Description

      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>
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ganeshmurthy Ganesh Murthy
                  Reporter:
                  mielket Torsten Mielke
                  Tester:
                  Tomas Plevko
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: