Search in sources :

Example 1 with CachedMessageGroupMap

use of org.apache.activemq.broker.region.group.CachedMessageGroupMap in project activemq-artemis by apache.

the class MessageGroupConfigTest method testCachedGroupConfigurationWithCacheSize.

public void testCachedGroupConfigurationWithCacheSize() throws Exception {
    CachedMessageGroupMap result = (CachedMessageGroupMap) doTestGroupConfiguration("cached?cacheSize=10", CachedMessageGroupMap.class);
    assertEquals(10, result.getMaximumCacheSize());
}
Also used : CachedMessageGroupMap(org.apache.activemq.broker.region.group.CachedMessageGroupMap)

Aggregations

CachedMessageGroupMap (org.apache.activemq.broker.region.group.CachedMessageGroupMap)1