activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Rodriguez <srodrig...@gmail.com>
Subject Default Dispatch Policy and Pending message Limit Strategy
Date Tue, 23 Feb 2010 08:05:01 GMT
Dear all,
I'm wondering what are the defaults for these two configuration parameters.
I know the options for Dispatch Policy are:

   - SimpleDispatchPolicy: Simple dispatch policy that sends a message to
   every subscription that matches the message.
   - StrictOrderDispatchPolicy: Dispatch policy that causes every
   subscription to see messages in the same order.
   - RoundRobinDispatchPolicy: To load balance low numbers of messages more
   fairly (dispatch messages fairly at the expense of some performance.)

And for the Pending message Limit Strategy:

   - ConstantPendingMessageLimitStrategy: maximum pending messages that will
   be held in the topic / queue
   - PrefetchRatePendingMessageLimitStrategy: sets the maximum pending
   message limit value to be a multiplier of the prefetch limit of the
   subscription.

I believe the defaults are the first on the list, but it would be nice to
have confirmation. It's a shame the documentation on the matter are quite
low (some wiki page for the round robin dispatch policy
Here<http://activemq.apache.org/dispatch-policies.html>
 <http://activemq.apache.org/dispatch-policies.html>and some documents on
the distpatch policy
Here<http://activemq.apache.org/slow-consumer-handling.html>
.
Can someone confirm me the default values? thank you very much,
-- 
Sebastien Rodriguez

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message