Re: Disabling prefetch

2022-10-05 Thread Robbie Gemmell
1 7209385761 <+1%207209385761> | john.lil...@redpointglobal.com > > *From:* Robbie Gemmell > *Sent:* Monday, October 3, 2022 11:05 AM > *To:* users@activemq.apache.org > *Subject:* Re: Disabling prefetch > > > > [Caution] This email is from an external source. P

RE: Disabling prefetch

2022-10-03 Thread John Lilley
com> From: Robbie Gemmell Sent: Monday, October 3, 2022 11:05 AM To: users@activemq.apache.org Subject: Re: Disabling prefetch *** [Caution] This email is from an external source. Please use caution responding, opening attachments or clicking embedded links. *** I think the suggestion was as

Re: Disabling prefetch

2022-10-03 Thread Robbie Gemmell
Suite 200 Wellesley, MA 02482 > > *M: *+1 7209385761 <+1%207209385761> | john.lil...@redpointglobal.com > > *From:* Clebert Suconic > *Sent:* Sunday, October 2, 2022 9:30 AM > *To:* users@activemq.apache.org > *Subject:* Re: Disabling prefetch > > > > [Caut

RE: Disabling prefetch

2022-10-03 Thread John Lilley
lesley, MA 02482 M: +1 7209385761 | john.lil...@redpointglobal.com<mailto:john.lil...@redpointglobal.com> From: Clebert Suconic Sent: Sunday, October 2, 2022 9:30 AM To: users@activemq.apache.org Subject: Re: Disabling prefetch *** [Caution] This email is from an external source. Please

Re: Disabling prefetch

2022-10-02 Thread Clebert Suconic
;https://www.redpointglobal.com/> > > John Lilley > > Chief Architect, Redpoint Global Inc. > > 888 Worcester Street, Suite 200 Wellesley, MA 02482 > > *M: *+1 7209385761 <+1%207209385761> | john.lil...@redpointglobal.com > > *From:* John Lilley > *Sent:* Sat

RE: Disabling prefetch

2022-10-01 Thread John Lilley
:john.lil...@redpointglobal.com> From: John Lilley Sent: Saturday, October 1, 2022 12:07 PM To: users@activemq.apache.org Subject: RE: Disabling prefetch *** [Caution] This email is from an external source. Please use caution responding, opening attachments or clicking embedded links. ***

RE: Disabling prefetch

2022-10-01 Thread John Lilley
PM To: users@activemq.apache.org Subject: Re: Disabling prefetch *** [Caution] This email is from an external source. Please use caution responding, opening attachments or clicking embedded links. *** I would not use a listener for a consumer that will only receive a single message anyways. On Fri, Sep

Re: Disabling prefetch

2022-09-30 Thread Clebert Suconic
.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 6:12 AM > *To:* users@acti

Re: Disabling prefetch

2022-09-30 Thread Justin Bertram
As Clebert mentioned you should set consumerWindowSize=0, but you'd do that on the connection URL (e.g. tcp://localhost:61616?consumerWindowSize=0) rather than when you create the queue. More details are available in the documentation [1]. Justin [1] https://activemq.apache.org/components/artemi

RE: Disabling prefetch

2022-09-30 Thread John Lilley
te 200 Wellesley, MA 02482 M: +1 7209385761 | john.lil...@redpointglobal.com<mailto:john.lil...@redpointglobal.com> From: Clebert Suconic Sent: Friday, September 30, 2022 6:12 AM To: users@activemq.apache.org Subject: Re: Disabling prefetch *** [Caution] This email is from an external source

Re: Disabling prefetch

2022-09-30 Thread Clebert Suconic
BTW closing a consumer to clear the fetched buffer is an anti pattern either AMQ5 or Artemis. Set no prefetch or any slow consumer option instead. That would be a waste of network and CPU. On Fri, Sep 30, 2022 at 4:33 AM Clebert Suconic wrote: > > This is done by setting consumerWindowSize to 0

Re: Disabling prefetch

2022-09-30 Thread Clebert Suconic
This is done by setting consumerWindowSize to 0 in your connections. There a note about slow consumers in the documentation. I’m on the phone now and I can’t get you a link. If you can’t find it let me know and I will post it for you. On Thu, Sep 29, 2022 at 6:13 PM John Lilley wrote: > Relat

Disabling prefetch

2022-09-29 Thread John Lilley
Related to my previous post (“Processing only one message”), under AMQ 5 I’ve had to disable prefetch to prevent a “batch server” from hogging messages for a while until it is done and closes the consumer/session (at which point the un-ACKed messages are delivered to other servers). This was d