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