public String resolve()

in ddm-notification-service-core/src/main/java/com/epam/digital/data/platform/notification/core/template/FreemarkerTemplateResolver.java [38:47]


  public String resolve(String templateName, String template, Map<String, Object> model)
      throws TemplateProcessingException {
    try (var out = new StringWriter()) {
      var freemarkerTemplate = new Template(templateName, template, freemarkerConfig);
      freemarkerTemplate.process(model, out);
      return out.toString();
    } catch (Exception ex) {
      throw new TemplateProcessingException(templateName, ex);
    }
  }