<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../main/config/ehcache.xsd"
 name="invalidCacheBatching">

    <defaultCache
        maxElementsInMemory="10"
        eternal="false"
        timeToIdleSeconds="5"
        timeToLiveSeconds="10"
        overflowToDisk="false"
        />

    <cache name="CWBTest1"
        maxElementsInMemory="10000"
        eternal="false"
        timeToIdleSeconds="360"
        timeToLiveSeconds="1000"
        overflowToDisk="false">

        <cacheWriter writeMode="write_behind" maxWriteDelay="8" rateLimitPerSecond="5"
                     writeCoalescing="true" writeBatching="false" writeBatchSize="20"
                     retryAttempts="2" retryAttemptDelaySeconds="2">
            <cacheWriterFactory class="net.sf.ehcache.writer.TestCacheWriterFactory"
                                properties="just.some.property=test;" propertySeparator=";"/>
        </cacheWriter>

    </cache>


</ehcache>
