activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Trenaman (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-2729) Dot-separated prefetch configuration variable rejected by failover transport URI
Date Wed, 12 May 2010 12:43:43 GMT

    [ https://issues.apache.org/activemq/browse/AMQ-2729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59309#action_59309
] 

Adrian Trenaman commented on AMQ-2729:
--------------------------------------

Thanks Dejan for the super-quick response on this! I'm afraid I'd already tried moving the
param to the outside of the failover brackets, and unfortunately this doesn't work :( Error
is: 

{code}
     [java] Caught: javax.jms.JMSException: Could not create Transport. Reason: java.lang.IllegalArgumentException:
Invalid connect arameters: {jms.prefetchPolicy.queuePrefetch=1}
{code}

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


Mime
View raw message