activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlkinsel <>
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"

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:
Sent from the ActiveMQ - User mailing list archive at

View raw message