activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé BARRAULT <>
Subject Producer flow control
Date Mon, 13 Feb 2012 13:37:42 GMT

i have looked to the documentation of the producer flow control
functionality (

I see that it is based on the storage size but in my case, i think not
being able to use the size.
I have a queue where i put messages two kind of messages : Big 10MB and
Small 1kB.

As Big messages are rare (compared to small ones), i would limit the Memory
to 100MB (10 messages).
But for small messages i would limit the number of small messages to 5000
(so about 5MB) . We have noted that with JDBC persistence, the number of
pending messages in the broker (not by queue) is important for

As i would keep the order of Big and Small messages, i put them in the same

Is there a way to define a strategy for the flow control which is 100MB and
5k messages ?


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