1 Reply Latest reply on May 4, 2015 8:48 AM by Jay SenSharma

    Monitoring and controlling of JMS queues on JBoss 5.1 server

    Artur Mioduszewski Newbie

      Hi.

       

      I am looking for a tool which help me monitoring and controlling of JMS queues on JBoss 5.1 server.

       

      Tool should full fill following requirements:

      1. A overview over queues with:

      • Name
      • No. of messages currently on queue
      • Max size of queue
      • Active listeners
      • And other queue definition details

      2. And maybe the ability to empty a queue

      3. It is not necessary to put and delete messages on queue.

      4. The primary focus is to add monitoring of queues and give us an overview of which queues exists.

       

      Can you recommend something ?

       

       

      Regards,

      Artur

        • 1. Re: Monitoring and controlling of JMS queues on JBoss 5.1 server
          Jay SenSharma Master

          Hello Artur,

           

             You can try using twiddle utility to collect such informations like:

           

          ./twiddle.sh -s localhost:1099 -u admin -p admin get "jboss.messaging.destination:name=TestQ,service=Queue" MessageCount PageSize  FullSize  MaxSize   DeliveringCount ScheduledMessageCount
          
          

           


          Ans to delete all messages from a queue (means to empty it)


          ./twiddle.sh -s localhost:1099 -u admin -p admin invoke"jboss.messaging.destination:name=TestQ,service=Queue" removeAllMessages


          See more about twiddle commands:  http://middlewaremagic.com/jboss/?p=726

          You can alos use the jmx-console to monitor the JMS statistics and JConsole like MBean based utilities as well.