|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.console.filter.AbstractQueryFilter
org.apache.activemq.console.filter.MessagesQueryFilter
public class MessagesQueryFilter
Field Summary |
---|
Fields inherited from class org.apache.activemq.console.filter.AbstractQueryFilter |
---|
next |
Fields inherited from interface org.apache.activemq.console.filter.QueryFilter |
---|
QUERY_DELIMETER |
Constructor Summary | |
---|---|
MessagesQueryFilter(javax.management.remote.JMXServiceURL jmxServiceUrl,
javax.management.ObjectName destName)
Create a JMS message query filter |
Method Summary | |
---|---|
protected javax.management.remote.JMXConnector |
createJmxConnector()
Creates a JMX connector |
javax.management.remote.JMXServiceURL |
getJmxServiceUrl()
Get the JMX service URL the query is connecting to. |
java.util.List |
query(java.util.List queries)
Queries the specified destination using the message selector format query |
protected java.util.List |
queryMessages(java.lang.String selector)
Query the messages of a queue destination using JMX |
void |
setJmxServiceUrl(javax.management.remote.JMXServiceURL jmxServiceUrl)
Sets the JMX service URL the query is going to connect to. |
void |
setJmxServiceUrl(java.lang.String jmxServiceUrl)
Sets the JMX service URL the query is going to connect to. |
Methods inherited from class org.apache.activemq.console.filter.AbstractQueryFilter |
---|
query |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessagesQueryFilter(javax.management.remote.JMXServiceURL jmxServiceUrl, javax.management.ObjectName destName)
jmxServiceUrl
- - JMX service URL to connect todestName
- - object name query to retrieve the destinationMethod Detail |
---|
public java.util.List query(java.util.List queries) throws java.lang.Exception
queries
- - message selector queries
java.lang.Exception
protected java.util.List queryMessages(java.lang.String selector) throws java.lang.Exception
selector
- - message selector
java.lang.Exception
public javax.management.remote.JMXServiceURL getJmxServiceUrl()
public void setJmxServiceUrl(javax.management.remote.JMXServiceURL jmxServiceUrl)
jmxServiceUrl
- - new JMX service URLpublic void setJmxServiceUrl(java.lang.String jmxServiceUrl) throws java.net.MalformedURLException
jmxServiceUrl
- - new JMX service URL
java.net.MalformedURLException
protected javax.management.remote.JMXConnector createJmxConnector() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |