assertEquals(0, current.intValue());
// stop the consumer as it was purged from the cache
// so we need to manually stop it
consumer.stop();
cache.stop();
}
@Override
protected RouteBuilder createRouteBuilder() throws Exception {
return new RouteBuilder() {