// For every URL an article is created and feeded into the article index
TweetConsumer twConsumer = injector.getInstance(TweetConsumer.class);
twConsumer.setUncaughtExceptionHandler(excHandler);
GenericUrlResolver resolver = injector.getInstance(GenericUrlResolver.class);
resolver.start();
int queueCapacity = cfg.getUrlResolverInputQueueSize();
// feeding consumer via twitter search (or offline fake)
TweetProducer twProducer = injector.getInstance(TweetProducer.class);
twProducer.setTwitterSearch(tws);
twProducer.setUserSearch(userSearch);