activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: ActiveMQ 3.2.2 - prefetch limit
Date Mon, 17 Jul 2006 12:25:22 GMT
The nice URI syntax you are trying to use only works in 4.x of
ActiveMQ - I'd recommend upgrading to 4.0.1 then you can use the URI
you want.

On 7/17/06, Muzza <stephen.murray@amt-sybex.com> wrote:
>
> Hi,
>
> I'm using ActiveMQ 3.2.2 and am trying to reset the prefetch limit down to 1
> as I only have one consumer in my project and the messages take a while to
> be processed by this consumer.
>
> I'd therefore like to set the prefetch limit against the
> ActiveMQConnectionFactory, but would like to do this via configuration
> rather than hard coding.
>
> Does anyone have any suggestions on this ?
>
> I've tried the following via Hermes 1.10 by amending the brokerURL setting
> to be :
>
> tcp://localhost:61616?jms.prefetchPolicy.queuePrefetch=1
>
> I can then still produce and consume to queues off this connection factory
> but is the above a valid way of setting the prefetch limit and is there any
> way of checking a queues pre fetch limit within ActiveMQ 3.2.2 ?
>
> Thanks,
> Muzza.
> --
> View this message in context: http://www.nabble.com/ActiveMQ-3.2.2---prefetch-limit-tf1954385.html#a5359762
> Sent from the ActiveMQ - User forum at Nabble.com.
>
>


-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message