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
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
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
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:
>> >
magic.moose wrote:
>
> I tried that. Resource Adapter simply references connectionFactory:
> class="org.apache.activemq.xbean.BrokerFactoryBean"
> depends-on="serverConnector">
> value="classpath:broker.xml" />
>
>
>
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
I tried that. Resource Adapter simply references connectionFactory:
where broker.xml:
http://activemq.org/config/1.0";>
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