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

    XMLWordPrintable

Details

    • 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>
      ~~~

      Attachments

        Issue Links

          Activity

            People

              gtully@redhat.com Gary Tully
              rhn-support-pfox Patrick Fox (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: