Thanks??After your explanation, there is really no need to read too much 
message content




------------------ ???????? ------------------
??????:                                                                         
                                               "users"                          
                                                          
<tb...@alumni.duke.edu&gt;;
????????:&nbsp;2021??6??16??(??????) ????7:34
??????:&nbsp;"ActiveMQ Users"<users@activemq.apache.org&gt;;

????:&nbsp;Re: Use jolokia to read messages from the queue, up to 400 messages??



That matches my understanding: the queue browser is meant to be a way to
view small numbers of messages from among those that would be consumed
next, not a way to view every message in a huge queue.

If you need that ability, one option is to use the JDBC backing store type,
since then you can query the entire table at will. But there are tradeoffs
to that change (performance, cost, etc.), so you'll want to weigh whether
the ability to see all messages is worth it in light of those tradeoffs.

Tim

On Tue, Jun 15, 2021, 8:47 PM Justin Bertram <jbert...@apache.org&gt; wrote:

&gt;&nbsp; From what I can tell by looking at the source code [1], I don't 
believe
&gt; there is a way to get to the "next page." The maxBrowsePageSize looks to be
&gt; the absolute maximum number of messages you can browse administratively.
&gt;
&gt; Out of curiosity, why are you wanting to browse so many messages via
&gt; Jolokia?
&gt;
&gt;
&gt; Justin
&gt;
&gt; [1]
&gt;
&gt; 
https://github.com/apache/activemq/blob/ff1af27106c74ad930c5bd12e8c0159e522efb70/activemq-broker/src/main/java/org/apache/activemq/broker/region/Queue.java#L1172
&gt;
&gt; On Tue, Jun 15, 2021 at 9:29 PM ??????o.-- <1169114...@qq.com&gt; wrote:
&gt;
&gt; &gt; Hi
&gt; &gt; Use jolokia to read messages from the queue, up to 400 messages.
&gt; &gt; After viewing some configurations, you can set the maximum message 
size
&gt; &gt; per page by setting maxBrowserPageSize,
&gt; &gt;
&gt; &gt;
&gt; &gt; But how to read the next page.
&gt; &gt;
&gt; &gt;
&gt; &gt; For example, when the same message size is 1000, when 
maxBrowserPageSize=
&gt; &gt; 500, you can view 0-500 messages, but how can I view 500-1000 messages
&gt; &gt; (messages on the next page)?
&gt;

Reply via email to