activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kristof sajdak <>
Subject Re: Reliably calculate time spent in broker
Date Thu, 25 Jul 2013 22:06:02 GMT
Hi Dejan,

Thanks for your reply.

I had a look at the plugin feature and I agree it could be a viable
However it does seem that I have to take extra considerations into account
to make the solution robust. 

If I keep the message timings in memory similar to the other plugin
implementations, and the broker crashes or shuts down gracefully they are
gone from memory when the broker comes up again.    

My assumption is that I could deal with this by re-reading the messages from
the queue and populate the memory stats at broker startup time but before
any remote consumer becomes active.

Could you let me know whether you think this is correct ?

If so I'm also wondering how to go about implementing the interceptor, can I
use the regular ActiveMQConnectionFactory, or do I use something inside the
BrokerFilter api to re-read the messages from the queue ? 





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

View raw message