final String operationName = operation.require(OP).asString();
final JMSServerControl serverControl = getServerControl(context, operation);
try {
if (LIST_CONNECTIONS_AS_JSON.equals(operationName)) {
String json = serverControl.listConnectionsAsJSON();
context.getResult().set(json);
} else if (LIST_CONSUMERS_AS_JSON.equals(operationName)) {
connectionIdValidator.validate(operation);
String connectionID = operation.require(CONNECTION_ID).asString();
String json = serverControl.listConsumersAsJSON(connectionID);