activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamesTheCruncher <>
Subject Re: What is the correct way to throttle ActiveMQ producers who send persistent messages in batches to a queue?
Date Tue, 08 Sep 2015 01:01:35 GMT
Here is my finding. With a producer window size of 1 mb (same as my
per-destination memory limit) and a payload of 2 kb both producer and
consumer are eventually stopped after sending fewer than 2k messages while
using a batch size > 1. When I used 100 as the batch size, I get the
following exception:


While using a smaller producer window size, I got this exception with a
batch size as little as 2.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message