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/12 14:39:43 UTC

[jira] Commented: (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:comment-tabpanel&focusedCommentId=59308#action_59308 ] 

Dejan Bosanac commented on AMQ-2729:
------------------------------------

Hi Adrian,

jms.* properties must be specified on the outer url's. In this case

{code}
failover://(tcp://localhost:61616)?jms.prefetchPolicy.queuePrefetch=1
{code}

should work.

> 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
>
> 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.