activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <tb...@alumni.duke.edu>
Subject Re: PolicyEntry parse order and constantPendingMessageLimitStrategy and message counts
Date Fri, 06 Mar 2015 20:43:22 GMT
If the stat is right, you'd see the # bytes used in the store climbing as
well.  (That stat is available in JMX, but I'm not sure it's on the web
console.)
On Mar 6, 2015 11:52 AM, "Matthew Patton" <MPatton@calamp.com> wrote:

> For all the documentation out there I can't find any mention as to parse
> order of activeMQ.xml as it relates to policy entries.
>
> Is it first match? Last match? Most specific match? For example:
>
>                 <policyEntry memoryLimit="64mb" queue="PumpQueue"
> producerFlowControl="false">
>                   <pendingMessageLimitStrategy>
>                     <constantPendingMessageLimitStrategy limit="175000"/>
>                   </pendingMessageLimitStrategy>
>                 </policyEntry>
> ...
>                 <policyEntry memoryLimit="16mb" producerFlowControl="true"
> queue="&gt;">
>                 </policyEntry>
>
> Are my PumpQueue settings being overridden by the wildcard entry that
> comes later?
>
> Also if the limit is 175000 why does Pending Messages (admin/queues.jsp)
> keep climbing way past that number? Are the messages really being discarded
> as intended but it's just that there isn't a metric for discard? How does
> one verify correct behavior?
>
>

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