Package org.vosao.business.mq.message

Examples of org.vosao.business.mq.message.IndexMessage


      getBusiness().getSearchEngine().saveIndex();
      logger.info("Reindex finished. Reindexed " + count + " pages.");
    }
    catch (RequestTimeoutException e) {
      getBusiness().getSearchEngine().saveIndex();
      getBusiness().getMessageQueue().publish(new IndexMessage(
          currentNumber));
      logger.info("Reindexed " + count + " pages");
    }
    catch(Exception e) {
      logger.error(e.getMessage());
View Full Code Here


  public void reindex() {
    for (LanguageEntity language : getDao().getLanguageDao().select()) {
      getSearchIndex(language.getCode()).clear();
      getSearchIndex(language.getCode()).saveIndex();
    }
    getBusiness().getMessageQueue().publish(new IndexMessage());
  }
View Full Code Here

TOP

Related Classes of org.vosao.business.mq.message.IndexMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.