[ 
https://issues.apache.org/jira/browse/AMQNET-318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timothy Bish resolved AMQNET-318.
---------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.5.1)
                   1.6.0
         Assignee: Timothy Bish  (was: Jim Gomes)

Added All to PrefetchPolicy and removed the PrefetchSize setting from Session, 
users should either use the Connection settings or set per consumer via the 
Destination Uri.

Fixed in trunk.  Not sure if it should be back ported as it changes API.

> 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: Timothy Bish
>            Priority: Minor
>             Fix For: 1.6.0
>
>
> 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