On 1/25/07, magic.moose <[EMAIL PROTECTED]> wrote:

Hi.

AMQ4.1.0, Jencks, Spring 1.2.7.

Prefetch size for all queues is always 10. I tried to CHANGE it in many
places:
- in broker url (both in conf xml and embedded into connectionFactory).
- in activationSpec destination name.
- in xml config <queue> (name || physicalName ??).

It stays 10...

The default is 1000 BTW.

http://svn.apache.org/repos/asf/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQPrefetchPolicy.java


Broker is embedded, jvm. no persistance. Is there any other place? something
overides my settings? Its crazy. such a simple thing to do and takes ages...

Given that you're using Jencks and so JCA, it should be the Resource
Adapter settings
http://activemq.apache.org/resource-adapter-properties.html


BTW: I want to play with that setting to deal with very slow consumers. Im
loosing some messages (or rather they are stuck in the queue) when I bulk
send them.

FWIW this has been fixed in 4.2 if you wanna try that

--

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

Reply via email to