String backend = properties.getProperty( Environment.WORKER_BACKEND );
final BackendQueueProcessor backendQueueProcessorFactory;
if ( StringHelper.isEmpty( backend ) || "lucene".equalsIgnoreCase( backend ) ) {
backendQueueProcessorFactory = new LuceneBackendQueueProcessorFactory();
}
else if ( "jms".equalsIgnoreCase( backend ) ) {
backendQueueProcessorFactory = new JMSBackendQueueProcessorFactory();
}
else if ( "blackhole".equalsIgnoreCase( backend ) ) {