Add support for an "all" prefetch policy setting
------------------------------------------------

                 Key: AMQNET-318
                 URL: https://issues.apache.org/jira/browse/AMQNET-318
             Project: ActiveMQ .Net
          Issue Type: Improvement
          Components: ActiveMQ
    Affects Versions: 1.5.0
         Environment: .NET 2.x, .NET 3.x, .NET 4.x
            Reporter: Jim Gomes
            Assignee: Jim Gomes
            Priority: Minor
             Fix For: 1.5.1


The connection setting for nms.prefetchPolicy is missing a convenient way to 
set all of the prefetch destination policies.  The Java client supports the 
following syntax:

jms.prefetchPolicy.all=50

To accomplish the same thing in NMS, you must do the following:

nms.prefetchPolicy.queuePrefetch=50&nms.prefetchPolicy.queueBrowserPrefetch=50&nms.prefetchPolicy.topicPrefetch=50&nms.prefetchPolicy.durableTopicPrefetch=50

There is currently a SetAll() API function, but no way to set all prefetch 
policies via the URI string.  We should add support that mirrors the simplified 
syntax of the Java client like so:

nms.prefetchPolicy.all=50


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to