You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2011/03/11 18:53:59 UTC
[jira] Commented: (AMQNET-318) Add support for an "all" prefetch
policy setting
[ https://issues.apache.org/jira/browse/AMQNET-318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13005744#comment-13005744 ]
Timothy Bish commented on AMQNET-318:
-------------------------------------
as part of this or maybe in addition we might want to check when creating a QueueBrowser that the QueueBrowser prefetch isn't zero and throw an error or at least log a warning since you can't browse a Queue when there's no allowed prefetch. Having all on the Uri makes it even easier to run into that case. The Java client has the same problem I've noticed.
> 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