예제 #1
0
 protected override void OnStart(string[] args)
 {
     Task.Factory.StartNew(() =>
     {
         consumer = new ConsumerHistoryProductToSolr(ConfigCrawler.QueueHistoryToSolr);
         consumer.StartConsume();
     });
 }
예제 #2
0
        public void ConsumerHistoryProductToSolrTest3()
        {
            var consumer = new ConsumerHistoryProductToSolr(ConfigCrawler.QueueVisitedLinkFindNewToCassandra);

            consumer.StartConsume();
        }
예제 #3
0
        public void ConsumerHistoryProductToSolrTest()
        {
            ConsumerHistoryProductToSolr c = new ConsumerHistoryProductToSolr(ConfigCrawler.QueueHistoryToSolr);

            c.StartConsume();
        }