4 Replies Latest reply on Feb 9, 2015 2:39 PM by Tomaz Cerar

    Jboss 7.1.1 CLI Problem read message count in Queue

    Kevin Stone Newbie


      When i run jboss-cli.sh with the following command it gives me a different count than I see in the admin console.

       

      ./jboss-cli.sh --user=abc --password=def --controller=1.2.3.4:9990 -c --commands="connect,/subsystem=messaging/hornetq-server=default/jms-queue=MyQueue/:read-attribute(name=message-count),exit"

       

      This command returns 2000L while the admin console has 0L.

       

       

      any ideas?

       

      thanks

      -kevin