How Can We Read And Cache Resources from External Path?

What is the Trimou Library?

<dependency>
<groupId>org.trimou</groupId>
<artifactId>trimou-core</artifactId>
<version>2.5.1.Final</version>
</dependency>
this.engine = MustacheEngineBuilder
.newBuilder()
.addTemplateLocator(new FileSystemTemplateLocator(1, emailPath))
.build();
engine.getMustache(createMailPath(emailRequest));
{
"from": "kadir",
"emailName" : "welcome.html"
}

--

--

--

Java Developer @XPoint-Tech

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Open-sourcing Thumbprint native design system

My Opinion on LeetCode:

Recap Oraichain Testnet Launch Livestream

DevOps vs Architect Developers

Advanced Load Balancing and Sticky Sessions with Ambassador, Envoy and Kubernetes

Applying horizontal slicing to reduce risk during development.

HTML Tags That Will Come in handy. . .

What is meant by ‘Stratified Split’?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Hasan Kadir Demircan

Hasan Kadir Demircan

Java Developer @XPoint-Tech

More from Medium

Spring RestTemplate — why the set timeout does not work

Java Virtual Machine(JVM) Architecture

Mock static methods with Mockito — Java Unit Testing

Java in a different taste…!!!