control.dropAllSubscriptions();
context.getResult();
} else if (JMSTopicDefinition.REMOVE_MESSAGES.equals(operationName)) {
removeMessagesValidator.validate(operation);
String filter = operation.hasDefined(FILTER.getName()) ? operation.get(FILTER.getName()).asString() : null;
context.getResult().set(control.removeMessages(filter));
} else {
// Bug
throw MESSAGES.unsupportedOperation(operationName);
}
} catch (RuntimeException e) {