activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Shannon <christopher.l.shan...@gmail.com>
Subject Re: For Artemis, is there a way to set consumerWindowSize differently on per JMS consumer basis?
Date Fri, 14 Dec 2018 17:36:40 GMT
When version 2.7.0 is released you will be able to set a default
consumerWindowSize per address so you should be able to accomplish what you
want.

See
https://github.com/apache/activemq-artemis/blob/master/docs/user-manual/en/address-model.md#configuring-addresses-and-queues-via-address-settings
At the bottom there is a new config parameter called
"default-consumer-window-size"

On Fri, Dec 14, 2018 at 8:59 AM Youyu Shao <youyushao@crd.com> wrote:

> Hello,
>
> We are using Artemis 2.6.2 as JMS server/broker. We have one JMS connection
> created from
> org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.
>
> We have two JMS queues, both are used as task distribution/load-balancing
> mechanism.
> One queue contains complex tasks taking long time to process, while the
> other
> contains simple tasks taking little time to finish.
>
> Each queue have multiple JMS consumers. We would like to see if there is a
> way
> to configure the consumers of the complex task queue with
> consumerWindowSize=0,
> and configure the consumers of the simple task queue with
> consumerWindowSize=-1.
>
> Simply put, is there a way to set consumerWindowSize differently on per JMS
> consumer basis?
>
> Thanks
>
> Youyu
>
>
>
> --
> Sent from:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message