config.setCompressLargeMessages(COMPRESS_LARGE_MESSAGES.resolveModelAttribute(context, model).asBoolean());
config.setConfirmationWindowSize(CONFIRMATION_WINDOW_SIZE.resolveModelAttribute(context, model).asInt());
config.setConnectionTTL(CONNECTION_TTL.resolveModelAttribute(context, model).asLong());
if (model.hasDefined(CONNECTOR)) {
ModelNode connectorRefs = model.get(CONNECTOR);
List<String> connectorNames = new ArrayList<String>(connectorRefs.keys());
config.setConnectorNames(connectorNames);
}
config.setConsumerMaxRate(CONSUMER_MAX_RATE.resolveModelAttribute(context, model).asInt());
config.setConsumerWindowSize(CONSUMER_WINDOW_SIZE.resolveModelAttribute(context, model).asInt());
final ModelNode discoveryGroupName = DISCOVERY_GROUP_NAME.resolveModelAttribute(context, model);