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" <mpat...@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?
>
>

Reply via email to