activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James A. Robinson" <>
Subject Re: Stranded - ActiveMQ constantly Crashing
Date Thu, 14 Apr 2016 14:15:38 GMT

Looking for a queue or topic that had a large number of unconsumed messages
​ ​
would probably be a good star

If your
 has the webconsole activated you can look at the queues and topics,
​ ​
for example if your server had a webconsole on port 8161:


If your server has JMX enabled, you could connect to it with JConsole and
​ ​
he MBeans for the broker, looking at the MemoryPercentUsage attributes of
​ ​
queues and topics.

Or, if the server has the jolokia JMX to HTTP bridge enabled, you can
access the MBeans via that:

​$ ​
curl -s -d
:8161/api/jolokia/ | jq .
  "timestamp": 1460643204,
  "status": 200,
  "request": {
    "attribute": "MemoryPercentUsage",
    "type": "read"
  "value": 0

​That example shows me querying my server amq-prod-1a (broker name
amq-prod-1), and asking it to tell me the ​MemoryPercentUsage of the
AL.FAILED queue.  The value happens to be zero in this case, so it's not
using any memory.


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