mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-3378 - isSlowConsumer for SubscriptionView
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1140098 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b78867e183
commit
e085ed4d5f
|
@ -305,4 +305,8 @@ public class SubscriptionView implements SubscriptionViewMBean {
|
|||
return filter.matches(destination);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isSlowConsumer() {
|
||||
return subscription.isSlowConsumer();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -196,4 +196,13 @@ public interface SubscriptionViewMBean {
|
|||
*/
|
||||
@MBeanInfo("Returns true if the subscription (which may be using wildcards) matches the given topic name")
|
||||
boolean isMatchingTopic(String topicName);
|
||||
|
||||
/**
|
||||
* Returns true if the subscription is slow
|
||||
*
|
||||
* @return true if the subscription is slow
|
||||
*/
|
||||
@MBeanInfo("Returns true if the subscription is slow")
|
||||
boolean isSlowConsumer();
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue