git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1140098 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2011-06-27 10:56:56 +00:00
parent b78867e183
commit e085ed4d5f
2 changed files with 13 additions and 0 deletions

View File

@ -305,4 +305,8 @@ public class SubscriptionView implements SubscriptionViewMBean {
return filter.matches(destination);
}
@Override
public boolean isSlowConsumer() {
return subscription.isSlowConsumer();
}
}

View File

@ -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();
}