ReplicationConsumer consumer = createConsumer();
// We should have 1000 entries plus the base entry = TOTAL_COUNT
assertTrue( waitForSyncReplClient( consumer, TOTAL_COUNT ) );
consumer.stop();
Thread.sleep( 5 * 1000 ); // let the journal be created and put in the map
SyncReplRequestHandler syncreplHandler = ( SyncReplRequestHandler ) providerServer.getReplicationReqHandler();