context.getResult().set(control.countMessagesForSubscription(clientId, subscriptionName, filter));
} else if (JMSTopicDefinition.DROP_DURABLE_SUBSCRIPTION.equals(operationName)) {
dropDurableSubscriptionValidator.validate(operation);
String clientId = operation.require(CLIENT_ID.getName()).asString();
String subscriptionName = operation.require(JMSTopicDefinition.SUBSCRIPTION_NAME).asString();
control.dropDurableSubscription(clientId, subscriptionName);
context.getResult();
} else if (JMSTopicDefinition.DROP_ALL_SUBSCRIPTIONS.equals(operationName)) {
control.dropAllSubscriptions();
context.getResult();
} else if (JMSTopicDefinition.REMOVE_MESSAGES.equals(operationName)) {