In ActiveMQ, Can I anyway detect how much time a message took to deliver to subscriber from a publisher?
Or Can I see separate timings that message took go from Publisher to topic(JMS service) And from (JMS service)Topic to Subsriber?
In ActiveMQ, Can I anyway detect how much time a message took to deliver
Share
There is a Maven plugin for AMQ performance testing, it might be what you are searching for.
Otherwise, you could come very far by doing some measurements with some load testing tool such as Apache jMeter and just see how many messages you can read/write / sec.
Notice that you will have rather big differences if you go persistent and/or transactional or not.
Update:
You could maybe do something with the log by configuring conf/log4j.properties and setting:
Then in data/activemq.log you can get some information for a put message. It’s not really obvious what the numbers represent, so you should make sure to define a test scenario. The following time stamps was from a message put to a queue (myqueue) by HermesJMS to ActiveMQ: