This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/activemq-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new ac66d4e17 Automatic Site Publish by Buildbot
ac66d4e17 is described below
commit ac66d4e17ebcbe899058f4234f1bbe457f186d74
Author: buildbot <[email protected]>
AuthorDate: Thu Jul 20 15:13:54 2023 +0000
Automatic Site Publish by Buildbot
---
output/message-groups.html | 2 ++
1 file changed, 2 insertions(+)
diff --git a/output/message-groups.html b/output/message-groups.html
index ffb26d783..4ecbf676c 100644
--- a/output/message-groups.html
+++ b/output/message-groups.html
@@ -214,6 +214,8 @@ if
(message.getBooleanProperty("JMSXGroupFirstForConsumer")) {
</code></pre></div></div>
<p>As <a
href="https://github.com/apache/activemq/blob/master/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/MessageGroupDelayedTest.java">the
appropriate test case</a> shows, adding a small time pause before dispatching
or setting a minimum consumer number, ensures equal message group
distribution.</p>
+<p>If you need to rebalance the message groups manually for any reason you can
do so by executing the <code class="language-plaintext
highlighter-rouge">removeAllMessageGroups</code> operation on the JMX MBean of
the corresponding queue.</p>
+
<h3
id="competing-demands-of-memory-consumption-load-balancing-complexity-etc">Competing
demands of memory consumption, load balancing, complexity, etc.</h3>
<p>The default behavior called <code class="language-plaintext
highlighter-rouge">CachedMessageGroupMap</code> is limited to 1024 message
groups in an LRU cache may not match you expectation w.r.t message order. <code
class="language-plaintext highlighter-rouge">CachedMessageGroupMap</code> has
bounded memory use, but only keeps track of up to 1024 (or the maximum
configured size) groups, then loses track of any groups older than the newest
1024. In this way, if there are more groups tha [...]