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

    Jboss 7.1.1 CLI Problem read message count in Queue

    Kevin Stone Novice

      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= -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?