I am currently using Apache ActiveMQ as a JMS solution to send various messages back and forth between clients. I would like to check the uptime for specific clients (i.e. Consumer or Producers), but I have not found a way to do this so far. I have checked the Advisory messages and StatisticsPlugin for any information on how to do this but have found nothing helpful.
I could try embedding a clock in my Consumer and Producer classes and creating a special advisory destination for sending messages to retrieve the time from those classes; however, this seems impractical.
Does anyone know of a better solution or a way to do this in ActiveMQ?