Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0E016200D5A for ; Thu, 14 Dec 2017 15:50:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0C610160C4B; Thu, 14 Dec 2017 14:50:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3E5A1160C26 for ; Thu, 14 Dec 2017 15:49:58 +0100 (CET) Received: (qmail 44083 invoked by uid 500); 14 Dec 2017 14:49:57 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 43889 invoked by uid 99); 14 Dec 2017 14:49:57 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Dec 2017 14:49:57 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 2F6F9E0FE7; Thu, 14 Dec 2017 14:49:57 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: dkulp@apache.org To: commits@activemq.apache.org Date: Thu, 14 Dec 2017 14:50:00 -0000 Message-Id: <065ad513896c4778bfc0574c6b504161@git.apache.org> In-Reply-To: <01262d8b9eb8432c8f231c08b2ac3fe7@git.apache.org> References: <01262d8b9eb8432c8f231c08b2ac3fe7@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [04/51] [partial] activemq-web git commit: Add "body.only" version of html archived-at: Thu, 14 Dec 2017 14:50:01 -0000 http://git-wip-us.apache.org/repos/asf/activemq-web/blob/d3c643c7/dispatch-policies.html ---------------------------------------------------------------------- diff --git a/dispatch-policies.html b/dispatch-policies.html index 7a2655f..cec9593 100644 --- a/dispatch-policies.html +++ b/dispatch-policies.html @@ -1,76 +1,3 @@ - - - - - - - - - - - - - - - Apache ActiveMQ ™ -- Dispatch Policies - - - -
-
-
-
-
-
-
-
-
-
-
- - - - - - - - - - - - - -

Dispatch Policies

Dispatch policies for queues

Plug-able dispatch policies only apply to topics. For Queues, dispatch is more static, you can choose round robin (the default) or strict order. Before discussing dispatch policies its worth first understanding the purpose of the prefetch value.

The out of the box configuration of ActiveMQ is designed for high performance and high throughput messaging where there are lots of messages that need to be dispatched to consumers as quickly as possible. So the default prefetch values are fairly large and the default dispatch policy will try and fill the prefetch buffers as quickly as possible.

However with messaging there are many use cases and sometimes the default configuration is not ideal to your use case; when you send a sm all number of messages, they tend to all go to one consumer unless you've lots of messages. If you have a large number of consumers and a relatively high prefetch value and you have a small number of messages that each message takes quite a while to process then the default dispatch policy might result in increasing the amount of time it takes to process all the messages (since the load balancing is not fair for small numbers of messages).

For queues, you can define whether the dispatch will occur in a round-robin fashion (default behaviour) or if one consumer's prefetch buffer will be exhausted before the dispatch process selects the next consumer along (strictOrderDispatch).
The latter behaviour is enabled by setting the "strictOrderDispatch" attribute on the <policyEntry /> element. E.g.:

<policyEntry queue=">" strictOrderDispatch="false" /> < p>Consumer priorities are observed, so if you have several consumers with different priorities, the one with the highest priority will be flooded first until it can take no more, then the next one along, etc.

From version 5.14.0 - the strictOrderDispatch=true option will ensure strict order for redispatched messages when there is a single consumer. 

Dispatch policies for Topics

There are more options for topics because the dispatch policy is plug-able. Any implementation of org.apache.activemq.broker.region.policy.DispatchPolicy will work.
The default org.apache.activemq.broker.region.policy.SimpleDispatchPolicy does what one would expect and delivers messages to all subscribers. An example of a more advanced implementation is the org.apache.activemq.broker.region.policy.PriorityNetworkDispat chPolicy which will only dispatch to the highest priority network consumer. This is useful in a loop network topology where there is more than route to a consumer.

Here is an example of destination policy configuration.

xml<destinationPolicy> <policyMap> <policyEntries> @@ -107,66 +34,4 @@ </policyEntries> </policyMap> </destinationPolicy>
-
- -
-
-
-
-
-
-
- -
-
-
-© 2004-2011 The Apache Software Foundation. -
-Apache ActiveMQ, ActiveMQ, Apache, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. -
-Graphic Design By Hiram -
- - - - - - - http://git-wip-us.apache.org/repos/asf/activemq-web/blob/d3c643c7/does-activemq-support-clustering.html ---------------------------------------------------------------------- diff --git a/does-activemq-support-clustering.html b/does-activemq-support-clustering.html index 2ad133c..5a5889d 100644 --- a/does-activemq-support-clustering.html +++ b/does-activemq-support-clustering.html @@ -1,140 +1,5 @@ - - - - - - - - - - - - - - - Apache ActiveMQ ™ -- Does ActiveMQ support clustering - - - -
-
-
-
-
-
-
-
-
-
-
- - - - - - - - - - - - - -

Yes, though there are various kinds of clustering. See this page on details

-
- -
-
-
-
-
-
-
- -
-
-
-© 2004-2011 The Apache Software Foundation. -
-Apache ActiveMQ, ActiveMQ, Apache, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. -
-Graphic Design By Hiram -
- - - - - - - http://git-wip-us.apache.org/repos/asf/activemq-web/blob/d3c643c7/does-activemq-support-my-sql-database.html ---------------------------------------------------------------------- diff --git a/does-activemq-support-my-sql-database.html b/does-activemq-support-my-sql-database.html index 2f06287..ff5efe8 100644 --- a/does-activemq-support-my-sql-database.html +++ b/does-activemq-support-my-sql-database.html @@ -1,138 +1,3 @@ - - - - - - - - - - - - - - - Apache ActiveMQ ™ -- Does ActiveMQ support my SQL database - - - -
-
-
-
-
-
-
-
-
-
-
- - - - - - - - - - - - - -

Quite possibly (smile). See the JDBC Support page for details of how to configure for your database or how to let us know of a database which does not work. Also see Persistence

-
- -
-
-
-
-
-
-
- -
-
-
-© 2004-2011 The Apache Software Foundation. -
-Apache ActiveMQ, ActiveMQ, Apache, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. -
-Graphic Design By Hiram -
- - - - - - - http://git-wip-us.apache.org/repos/asf/activemq-web/blob/d3c643c7/download-archives.html ---------------------------------------------------------------------- diff --git a/download-archives.html b/download-archives.html index f5a775f..f4c299f 100644 --- a/download-archives.html +++ b/download-archives.html @@ -1,137 +1,2 @@ - - - - - - - - - - - - - - - Apache ActiveMQ ™ -- Download Archives - - - -
-
-
-
-
-
-
-
-
-
-
- - - - - - - - - - - - - -
-

Download archives

You can use the Apache Archives to download all the ActiveMQ releases.

Downloading

The links below contains the release notes for all the ActiveMQ release. However if you want to download the release, you must use the download archiv es, which is the two links above.

All time Apache ActiveMQ releases notes:

-
- -
-
-
-
-
-
-
- -
-
-
-© 2004-2011 The Apache Software Foundation. -
-Apache ActiveMQ, ActiveMQ, Apache, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. -
-Graphic Design By Hiram -
- - - - - - - -