activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <>
Subject Re: Default Dispatch Policy and Pending message Limit Strategy
Date Tue, 23 Feb 2010 12:38:31 GMT
The code is the best reference for defaults as they can change across

If want specific behavior, it is safest to provide explicit configuration
for your broker via the xml configuration or programatically when you create
your broker.

For the default dispatch policy, see: line 68 of

There is no default pending message limit strategy, the default is not to
limit pending messages.
see: line 57 of

On 23 February 2010 08:05, Sebastian Rodriguez <> wrote:

> 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<>
>  <>and some documents on
> the distpatch policy
> Here<>
> .
> Can someone confirm me the default values? thank you very much,
> --
> Sebastien Rodriguez


Open Source Integration

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