Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-3935

JConsole browse() function does not work if useCache=false

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.6.0
    • Fix Version/s: 5.7.0
    • Component/s: Broker
    • Labels:
      None

      Description

      Doing a send of 20 messages in batches of 10, and a browse in between via jconsole with policy entry useCache=false, the browse does not return 20 messages on the second call.
      When a consumer does a browse, because there are some consumers in the mix, a page in occurs. Via jmx, there are no consumers b/c jmx goes direct to the queue via the mbean.
      The problem is that the browse does not force a page in from disk. So if the messages are not cached they are not visible.
      Ensuring that a browse does page in if the cache is disabled will sort this.

        Attachments

          Activity

            People

            • Assignee:
              gtully Gary Tully
              Reporter:
              gtully Gary Tully
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: