On 5/5/06, Adrian Tarau <[EMAIL PROTECTED]> wrote:
> Well I just compiled what you just told me, there are statistics. This
> wouldn't help me.

Huh? Look at all the methods on Destination...

http://activemq.codehaus.org/maven/apidocs/org/apache/activemq/broker/region/Destination.html

e.g. getQueueSize()


> What I need is, after the application starts to see how many messages
> are in the persistence related with a queue name

See above

> , so a plain SQL on the
> messages table with a filter should give me what I want.

No it won't as that is stale for long periods of time - since we write
to the journal then only at checkpoint do we update the database; so
the database is generally stale most of the time.

--

James
-------
http://radio.weblogs.com/0112098/

Reply via email to