final ModelNode notificationPrefix = ServerDefinition.ENDPOINT_PREFIX_ATTR.resolveModelAttribute(context, model);
final ModelNode notificationtTls = ServerDefinition.ENDPOINT_TLS_ATTR.resolveModelAttribute(context, model);
final ModelNode notificationAckInterval = ServerDefinition.ENDPOINT_ACK_INTERVAL_ATTR.resolveModelAttribute(context, model);
final Builder simplePushConfig = DefaultSimplePushConfig.create();
simplePushConfig.password(ServerDefinition.PASSWORD_ATTR.resolveModelAttribute(context, model).asString());
if (notificationtTls.isDefined()) {
simplePushConfig.endpointTls(notificationtTls.asBoolean());
}
if (reaperTimeout.isDefined()) {
simplePushConfig.userAgentReaperTimeout(reaperTimeout.asLong());