Uploaded image for project: 'ActiveMQ .Net'
  1. ActiveMQ .Net
  2. AMQNET-318

Add support for an "all" prefetch policy setting

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.5.0
    • 1.5.1, 1.6.0
    • ActiveMQ
    • None
    • .NET 2.x, .NET 3.x, .NET 4.x

    Description

      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

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            jgomes Jim Gomes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: