activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlkinsel <...@thrashyour.com>
Subject Re: trying to combine failover and prefetchPolicy
Date Sat, 27 Oct 2007 22:59:37 GMT

sooo....nobody is using activeMQ through Spring with failover and small
prefetch queue sizes. OK.

How about this - can anybody point me at a single doc which explains the
best way to use activeMQ, versus a wiki with a bunch of scattered
information?


jlkinsel wrote:
> 
> 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#a13448310
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message