activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Mielke <>
Subject Re: Controlling Message generation based on ActiveMQ memory
Date Mon, 06 Jun 2011 15:06:56 GMT
Assuming you don't have many producers sending to the same destination,
your producer could connect to the broker via JMX and query the
MemoryPercentUsage property of the destination. If that is above 70% you
might skip the creation of the msg.
So JMX does expose this information. Other than that I am not sure there
is an alternative way.

Torsten Mielke


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