title: Hawtio ActiveMQ queue Browse shows maximum 500 messages
body: <p>I'm trying to see all the messages in my queue in ActiveMQ(5.11.1). I am using Hawtio(1.4.51) for this purpose. My queue in ActiveMQ contains 790 message.</p>
  
  <p>My Steps till now:</p>
  
  <ol>
  <li>By default hawtio shows up to 400 Messages in ActiveMQ queue. So i went to my broker.xml settings and added:</li>
  </ol>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;destinationPolicy&gt;
   &lt;policyMap&gt;
    &lt;policyEntries&gt;
     &lt;policyEntry queue="incoming.status" maxBrowsePageSize="401"/&gt; 
    &lt;/policyEntries&gt;
   &lt;/policyMap&gt;
  &lt;/destinationPolicy&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>This gave me 401 messages. </p>
  
  <ol start="2">
  <li><p>So i tried to change the maxBrowsePageSize="401" to "-1". To my surprise i got only 200 messages...</p></li>
  <li><p>Next try was to set maxBrowsePageSize="1000" and again dissapointement. I could see only 500 messages...</p></li>
  <li><p>Next i went to my java code and inserted:</p></li>
  </ol>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>PrintWriter writer = new PrintWriter("c:\\Messages.log", "UTF-8");
  writer.write(jmsQueueEndpoint.browseAllMessagesAsXml(true));
  writer.close();</code></pre>
  </div>
  </div>
  </p>
  
  <p>The results were: for maxBrowsePageSize="401" i got 401/790 messages, for "2" i got 2/790 for "1000" and for "-1" i got 790/790. </p>
  
  <p>So my conclusion was that there is some setting in Hawtio that limits my results to 500. </p>
  
  <p>I need to see ALL my messages in Hawtio.</p>