|
||||||||||
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(JMXServiceURL jmxServiceUrl,
ObjectName destName)
Create a JMS message query filter |
Method Summary | |
---|---|
protected JMXConnector |
createJmxConnector()
Creates a JMX connector |
JMXServiceURL |
getJmxServiceUrl()
Get the JMX service URL the query is connecting to. |
List |
query(List queries)
Queries the specified destination using the message selector format query |
protected List |
queryMessages(String selector)
Query the messages of a queue destination using JMX |
void |
setJmxServiceUrl(JMXServiceURL jmxServiceUrl)
Sets the JMX service URL the query is going to connect to. |
void |
setJmxServiceUrl(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(JMXServiceURL jmxServiceUrl, ObjectName destName)
jmxServiceUrl
- - JMX service URL to connect todestName
- - object name query to retrieve the destinationMethod Detail |
---|
public List query(List queries) throws Exception
queries
- - message selector queries
Exception
protected List queryMessages(String selector) throws Exception
selector
- - message selector
Exception
public JMXServiceURL getJmxServiceUrl()
public void setJmxServiceUrl(JMXServiceURL jmxServiceUrl)
jmxServiceUrl
- - new JMX service URLpublic void setJmxServiceUrl(String jmxServiceUrl) throws MalformedURLException
jmxServiceUrl
- - new JMX service URL
MalformedURLException
protected JMXConnector createJmxConnector() throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |