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

[prioritizedMessages, JDBC store] periodically messages on queue cannot be consumed when using broker side prioritizedMessages

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: JBoss A-MQ 6.1
    • Fix Version/s: JBoss A-MQ 6.2.1
    • Component/s: broker, jdbc
    • Environment:
      • tested on 5.9.0.redhat-611431
      • tested on 5.12-SNAPSHOT (from trunk on 18 Jun 2015)
    • Steps to Reproduce:
      Hide

      attached unit test.

      Show
      attached unit test.

      Description

      When prioritizedMessages=true using JDBC persistent adapter set on the broker; periodically messages are "trapped" on the queue and cannot be consumed. The symptoms:

      • JMX queue size shows messages on the broker.
      • Browsing the queue shows no messages.
      • Messages are in the underlying DB.
      • No message can be consumed from the queue.

      -This behaviour only seems to occur when using the JDBC persistence store (kahadb does NOT demonstrate the issue)

      Example config
      ~~~
      <destinationPolicy>
      <policyMap>
      <policyEntries>
      <policyEntry queue=">" producerFlowControl="false" useCache="true" prioritizedMessages="true" expireMessagesPeriod="0" memoryLimit="1 mb"/>
      </policyEntries>
      </policyMap>
      </destinationPolicy>
      ~~~

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  garytully Gary Tully
                  Reporter:
                  pfox Patrick Fox
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: