title: Dynamic template resolver using Thymeleaf
body: <p>We have a requirement to dynamically resolve html or text templates. The template content (a string) with variable place holders will be available in database.</p>
  <p>We have to resolve them dynamically on demand with the actual values for the variables and get the final string content.</p>
  <p><em>Example: (not a complete code)</em></p>
  <pre><code>String myHtmlTemplateContent = &quot;&lt;h1&gt;Hi ${first_name} ${last_name}&lt;/h1&gt;&quot;;
  Map&lt;String, Object&gt; myMapWithValues = ..;
  engine.resolve(myHtmlTemplateContent , myMapWithValues );
  </code></pre>
  <p>Will be helpful if we have a way to resolve using thymeleaf or is it possible using thymeleaf template engine.</p>