You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Dejan Bosanac (JIRA)" <ji...@apache.org> on 2010/05/13 12:14:06 UTC

[jira] Resolved: (AMQ-2729) Dot-separated prefetch configuration variable rejected by failover transport URI

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

Dejan Bosanac resolved AMQ-2729.
--------------------------------

    Fix Version/s: 5.4.0
       Resolution: Fixed

Fixed with svn revision 943860.

It turned out that URISupport.parseQuery() didn't handle this case well. Added appropriate tests to FailoverUriTest as well.

> Dot-separated prefetch configuration variable rejected by failover transport URI
> --------------------------------------------------------------------------------
>
>                 Key: AMQ-2729
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2729
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Connector
>    Affects Versions: 5.3.2
>            Reporter: Adrian Trenaman
>            Assignee: Dejan Bosanac
>             Fix For: 5.4.0
>
>
> If you set the queue prefetch policy on a failover connection string, you get an exception saying that the policy is not a valid configuration option.
> {code}
> failover://(tcp://localhost:61616?jms.prefetchPolicy.queuePrefetch=1)
> {code}
> To test, simply modify the URL in the example/build.xml file from an installation of ActiveMQ, and then run the producer using 'ant producer'. I think that this may be related to the fact that the variable in question - 'jms.prefetchPolicy.queuePrefetch' - has dots (periods) in the name. 

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