?
this.getDefaultConsumerWindowSize(queueInfo) : windowSize;
I haven’t brought it up before because I’m not sure it’s worth fixing.
From: Clebert Suconic
Date: Friday, September 30, 2022 at 9:02 PM
To: users@activemq.apache.org
Subject: Re: Processing only one message
Internal property on the consumer I meant.
On
google.com/maps/search/888+Worcester+Street,+Suite+200+Wellesley,+MA+02482?entry=gmail&source=g>
>>
>> *M: *+1 7209385761 <+1%207209385761> | john.lil...@redpointglobal.com
>>
>> *From:* Clebert Suconic
>> *Sent:* Friday, September 30, 2022 3:02 AM
>>
t; <https://www.google.com/maps/search/888+Worcester+Street,+Suite+200+Wellesley,+MA+02482?entry=gmail&source=g>
>
> *M: *+1 7209385761 <+1%207209385761> | john.lil...@redpointglobal.com
>
> *From:* Clebert Suconic
> *Sent:* Friday, September 30, 2022 3:02 AM
> *To:
lobal.com>
From: Clebert Suconic
Sent: Friday, September 30, 2022 3:02 AM
To: users@activemq.apache.org
Subject: Re: Processing only one message
*** [Caution] This email is from an external source. Please use caution
responding, opening attachments or clicking embedded links. ***
Look at sl
385761> | john.lil...@redpointglobal.com
>
> *From:* Robbie Gemmell
> *Sent:* Friday, September 30, 2022 6:49 AM
> *To:* users@activemq.apache.org
> *Subject:* Re: Processing only one message
>
>
>
> [Caution] This email is from an external source. Please use cautio
hitect, Redpoint Global Inc.
888 Worcester Street, Suite 200 Wellesley, MA 02482
M: +1 7209385761 |
john.lil...@redpointglobal.com<mailto:john.lil...@redpointglobal.com>
From: Robbie Gemmell
Sent: Friday, September 30, 2022 6:49 AM
To: users@activemq.apache.org
Subject: Re: Processing only
If you only want to get a single message it might make more sense to use
[possibly non-prefetching if really only wanting 1 message]
consumer.receive(..) style calls rather than a MessageListener.
Opening and closing a consumer and session per-message is quite
inefficient. Are you also closing the
Look at slow consumers. Set consumer window size to 0 on this consumer.
On Thu, Sep 29, 2022 at 6:01 PM John Lilley
wrote:
> We have an application that should read a single message from a queue (a
> “job” queue) and then stop processing more messages. Think of it as a
> “batch request”. Thi
We have an application that should read a single message from a queue (a “job”
queue) and then stop processing more messages. Think of it as a “batch
request”. This is entirely using the JMS driver. Is there a good pattern for
this?
Under ActiveMQ 5, I call consumer.close(), session.close() f