I assume you are using Activemq5 client, the format of transport failover://(uri1,uri2) has been obseleted in 5.0, replacing with failover:(uri1,uri2). Please try this.
JIRA [EMAIL PROTECTED] wrote: > > jms.prefetchPolicy in Resource-Adapter! > --------------------------------------- > > Key: AMQ-1497 > URL: https://issues.apache.org/activemq/browse/AMQ-1497 > Project: ActiveMQ > Issue Type: Bug > Affects Versions: 5.0.0 > Reporter: goldi > > > Testing ActiveMQ integrated in JBoss I found that the following doesn't > work anymore: > > <config-property-value>failover://(tcp://192.168.8.101:65001)?jms.prefetchPolicy.all=1000</config-property-value> > > I got the following exception: > > 2007-11-16 15:08:50,734 ERROR > [org.apache.activemq.ra.ActiveMQEndpointWorker] Endpoint connection to JMS > broker failed: Could not create Transport. Reason: > java.lang.IllegalArgumentException: Invalid connect parameters: > {jms.prefetchPolicy.all=1000} > 2007-11-16 15:08:50,734 ERROR > [org.apache.activemq.ra.ActiveMQEndpointWorker] Endpoint will try to > reconnect to the JMS broker in 30 seconds > > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > > > -- View this message in context: http://www.nabble.com/-jira--Created%3A-%28AMQ-1497%29-jms.prefetchPolicy-in-Resource-Adapter%21-tp13843456s2354p14291292.html Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
