Description
The output for "bstat" and the "query command without any params" are exactly the same for activemq-admin. This is because the query intended to be run for bstat is never run.
A closer look shows that the parameters passed to the runTask() method of QueryCommand are never used. The QueryCommand.queryAddObjects field is what's used to determine what objects to query and for the bstat command, those are never properly parsed.