Yes, it will disable the produce flow control for those queues that start with 
the foo.bar pattern.  If you add another pattern like foo.bar.more.> with 
producer flow control set to true then those queues that start with this prefix 
will have producer flow control enabled.

You can confirm this by opening the jconsole and looking at the attributes of 
the queue/topics.  One of the attributes is the producer flow control.

--Claudio




>________________________________
>From: Joe Shisei Niski <[email protected]>
>To: "[email protected]" <[email protected]>
>Sent: Saturday, September 17, 2011 1:18 PM
>Subject: Re: selectively enabling ProducerFlowControl
>
>oops, i noticed a bad typo in my second block, the second policyEntry 
>should look like this:
>
><policyEntry queue="foo.bar.>" producerFlowControl="false"
>memoryLimit="${baseQueueMemory}mb">
>...
></policyEntry>
>
>
>*Joe Niski*
>Senior Developer - Information Services  |  NWEA™
>
>PHONE 503.548.5207 | FAX 503.639.7873
>
>NWEA.ORG <http://www.nwea.org/> | Partnering to help all kids learn™
>
>
>On 09/16/2011 05:28 PM, Joe Shisei Niski wrote:
>> i'd like to enable ProducerFlowControl for all queues, with a few
>> exceptions.
>>
>> my activemq.xml already has this block:
>>
>> <policyEntries>
>> <policyEntry queue=">" producerFlowControl="true"
>> memoryLimit="${baseQueueMemory}mb">
>> ...
>> </policyEntry>
>>
>> if i add this block next, will that disable producerFlowControl for
>> queues whose names match the pattern?
>>
>> <policyEntry queue="foo.bar.>" producerFlowControl="true"
>> memoryLimit="${baseQueueMemory}mb">
>> ...
>> </policyEntry>
>>
>
>
>

Reply via email to