So I think I understand that you want to do performance profiling to
understand how long it takes to run the message handler (which you wrote)
for each message your consumer processes.  Is that accurate?

If so, there are many profilers available; this article (
https://blog.idrsolutions.com/2014/06/java-performance-tuning-tools/) lists
nine options plus several more in the comments, or you can Google to look
for more.  I don't know if any of them let you break time down by thread
state, but Google should be able to answer that as well.

BTW, I was very confused about what "ideal state" was, till Google's
auto-complete helped me figure out that you meant "idle", after which I
understood your question a little better.
On Jun 11, 2015 12:13 AM, "mayank_inno" <mayankag...@gmail.com> wrote:

> Hello Friends,
>
>
> I want to find out the timestamp (from consumer) ,when the message start
> processing , and when complete their process ..means ideal state time ,
> running state time , termination state time just like different states in
> Thread..
>
>
> Thanks
> Mayank Agarwal
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/how-to-find-different-message-states-ideal-running-stop-in-active-MQ-tp4697649.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Reply via email to