You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2009/06/09 12:39:07 UTC

[jira] Created: (QPID-1894) Incorrect/Unused URL options are not reported leading to confusion

Incorrect/Unused URL options are not reported leading to confusion
------------------------------------------------------------------

                 Key: QPID-1894
                 URL: https://issues.apache.org/jira/browse/QPID-1894
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
    Affects Versions: M4, M3, M2.1, 0.5
            Reporter: Martin Ritchie


Summary:

This url will parse and will connect happily however the maxprefetch value is never used.
amqp://u:p@client1/vhost?brokerlist='tcp://host:port?retries='10000'&connectdelay='5000'&connecttimeout='10000'&maxprefetch='10''

The maxprefetch value is a connection option not a broker option.
amqp://u:p@client1/vhost?brokerlist='tcp://host:port?retries='10000'&connectdelay='5000'&connecttimeout='10000''&maxprefetch='10'
 
Potentially we should allow both as you may wish to change the prefetch based on the network topology of the broker you are connected. Leaving the top level value in (potentially renamed to defaultmaxprefetch) would also be of value so a user need not repeat the setting for each broker.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org