}
else if ( "blackhole".equalsIgnoreCase( backend ) ) {
backendQueueProcessor = new BlackHoleBackendQueueProcessor();
}
else if ( "jgroupsMaster".equals( backend ) ) {
backendQueueProcessor = new JGroupsBackendQueueProcessor( new MasterNodeSelector() );
}
else if ( "jgroupsSlave".equals( backend ) ) {
backendQueueProcessor = new JGroupsBackendQueueProcessor( new SlaveNodeSelector() );
}
else if ( "jgroups".equals( backend ) ) {
backendQueueProcessor = new JGroupsBackendQueueProcessor( new AutoNodeSelector( indexManager.getIndexName() ) );
}
else {
backendQueueProcessor = ClassLoaderHelper.instanceFromName(
BackendQueueProcessor.class,
backend, BackendFactory.class, "processor"