3.5. activemq:query, query
Abstract
Synopsis
activemq:query [
-QMBeanType=name
] [
-xQMBeanType=name
] [
--objname query
] [
--xobjname query
] [
--view
{
attr
...}
] [
--jmxurl JMXUrl
] [
--pid PID
] [
-jmxuser userName
] [
-jmxpassword password
] [
-jmxlocal
] [
--version
] [[
--help
] | [
-h
] | [
-?
]]
Arguments
Table 3.6. activemq:query Arguments
| Argument | Interpretation |
|---|---|
-Q type=name | Adds to the search list the specific object type matched by the defined object identifier. |
-xQ type=name | Removes from the search list the specific object type matched by the object identifier. |
--objname query | Adds to the search list objects matched by the query similar. |
--xobjname query | Removes from the search list objects matched by the query. |
--view attr1,attr2,... | Selects the specific attribute of the object to view. By default, all attributes are displayed. |
--jmxurl URL | Sets the JMX URL to connect to. |
--pid PID | Set the pid to connect to (only on Sun JVM). |
--jmxuser user | Sets the JMX user, used for authentication |
--jmxpassword password | Sets the JMX password, used for authentication |
--jmxlocal | Specifies to use the local JMX server instead of a remote server |
--version | Displays the version information |
-h, -?, --help | Displays the online help for this command |
Examples
JBossA-MQ:karaf@root>activemq:query
TEST.FOO:
JBossA-MQ:karaf@root>activemq:query -QTopic=TEST.FOO
host:
JBossA-MQ:karaf@root>activemq:query -QBroker=*host
JBossA-MQ:karaf@root>activemq:query -QQueue=*
.FOO except those that also begin with ActiveMQ.Advisory.:
JBossA-MQ:karaf@root>activemq:query -QTopic=*.FOO -xQTopic=ActiveMQ.Advisory.*

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.