Re: Can't set prefetch size!

2007-02-06 Thread James Strachan
Incidentally in another thread someone spotted a bug that was affecting the setting of custom consumer configurations in the RA, so the latest 4.2-SNAPSHOT could help your issue On 2/5/07, magic.moose <[EMAIL PROTECTED]> wrote: Yes, I just wanted to show config w/o prefetch stuff. Anyway, setti

Re: Can't set prefetch size!

2007-02-05 Thread magic.moose
Yes, I just wanted to show config w/o prefetch stuff. Anyway, setting vm://localhost?jms.prefetchPolicy.all, or policies for queues, or for particular consumer via URL it all failed. So did setting of resource adapter properties according to http://activemq.apache.org/resource-adapter-properties.h

Re: Can't set prefetch size!

2007-02-02 Thread Christopher G. Stach II
magic.moose wrote: > > jms.redeliveryPolicy.allPrefetchValues is not recognized as correct > connection param in ver. 4.1. > i tried jms.prefetchPolicy.all. Without success. That's weird, because that's what I use and it works. :) -- Christopher G. Stach II

Re: Can't set prefetch size!

2007-02-02 Thread magic.moose
jms.redeliveryPolicy.allPrefetchValues is not recognized as correct connection param in ver. 4.1. i tried jms.prefetchPolicy.all. Without success. Christopher G. Stach II wrote: > > magic.moose wrote: >> >> I tried that. Resource Adapter simply references connectionFactory: >> >

Re: Can't set prefetch size!

2007-02-02 Thread Christopher G. Stach II
magic.moose wrote: > > I tried that. Resource Adapter simply references connectionFactory: > class="org.apache.activemq.xbean.BrokerFactoryBean" > depends-on="serverConnector"> > value="classpath:broker.xml" /> > > >

Re: Can't set prefetch size!

2007-02-02 Thread James Strachan
On 2/2/07, magic.moose <[EMAIL PROTECTED]> wrote: I tried that. Resource Adapter simply references connectionFactory: I'm confused - I don't see any attempt to set the prefetch policy in your XML? If you are explicitly creating a connectionFactory and passing it into the RA you could try conf

Re: Can't set prefetch size!

2007-02-02 Thread magic.moose
I tried that. Resource Adapter simply references connectionFactory: where broker.xml: http://activemq.org/config/1.0";>

Re: Can't set prefetch size!

2007-02-01 Thread James Strachan
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