finos / finos/symphony-bdk-java

FreeMarkerEngine configurability

Open
#445 0 comments 0 reactions 0 assignees View on GitHub
[type] enhancement
Dominant language
Java
Stars
29
Forks
77
Avg merge
1d 23h
Merged PRs (30d)
3

Description

## Feature Request
As BDK FreeMarker template user, i'd like to be able to configure a multiple template loader, the loader path is configurable(filepath or classpath), so that the templates files are going to be loaded from these paths, and will be override according to the loader's order. I'd like also be able to configure the freemarker configurations such like cache and template update delay.

### Description of Problem:
FreeMarkerEngine from BDK2.0 has a private createConfiguration() method, so that cannot be override to have a custom configuration, in addition, each call newTemplateFromFile, or newTemplateFromClasspath will create a new configuration on the fly, this won't profit the template caching from Freemarker, hence we will have a bit performance impact.

### Potential Solutions:
.To see if this is something we'd like to do in BDK, otherwise we already have an custom implementation of FreeMarkerEngine to satisfy our requirement.

... if you've considered alternatives, clearly and concisely describe those too.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.