List<ReplicaEventLog> replicas = new ArrayList<ReplicaEventLog>();
// Search for all the consumers
ExprNode filter = new EqualityNode<String>( OBJECT_CLASS_AT, new StringValue(
SchemaConstants.ADS_REPL_EVENT_LOG ) );
SearchRequest searchRequest = new SearchRequestImpl();
searchRequest.setBase( REPL_CONSUMER_DN );
searchRequest.setScope( SearchScope.ONELEVEL );
searchRequest.setFilter( filter );
searchRequest.addAttributes( SchemaConstants.ALL_OPERATIONAL_ATTRIBUTES, SchemaConstants.ALL_USER_ATTRIBUTES );
EntryFilteringCursor cursor = adminSession.search( searchRequest );
// Now loop on each consumer configuration
while ( cursor.next() )