Embedding Terracotta Configuration

You can embed the contents of a Terracotta configuration file in ehcache.xml as follows:

<terracottaConfig> 
   <tc-config> 
       <servers> 
           <server host="server1" name="s1"/> 
           <server host="server2" name="s2"/> 
       </servers> 
       <clients> 
           <logs>app/logs-%i</logs> 
       </clients> 
   </tc-config> 
</terracottaConfig>