activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlkinsel <...@thrashyour.com>
Subject trying to combine failover and prefetchPolicy
Date Fri, 26 Oct 2007 03:54:39 GMT

Hey guys - I'm using ActiveMQ through Spring, with the client configured
through my spring xml files.  I'm trying to get a client to connect to a
broker with two features enabled:
 a) I want failover turned on as the network between the client/server is
slightly flakey, and 
 b) I want to set my queuePrefetch size to 1.

I would think this means something like
 <property name="brokerURL"
value="failover:tcp://qserver:61616?jms.prefetchPolicy.queuePrefetch=1,tcp://qserver:61616?jms.prefetchPolicy.queuePrefetch=1"/>

but this causes errors.  If I just have the queuePrefetch option on the
second uri, it doesn't give an error, but i'm not convinced that the
queuePrefetch size of the first uri is going to be 1.

Any thoughts as to what I'm doing wrong here?

-- 
View this message in context: http://www.nabble.com/trying-to-combine-failover-and-prefetchPolicy-tf4695041s2354.html#a13420475
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message