Package org.vosao.business.mq.message

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


      getDao().getPluginDao().save(plugin);
    }
  }

  private void updatePages() {
    Message msg = new SimpleMessage(PageTitleUpdate.class);
    getBusiness().getMessageQueue().publish(msg);
  }
View Full Code Here


  @Override
  public ServiceResponse cacheReset() {
    getBusiness().getSystemService().getCache().clear();
    getSetupBean().clearFileCache();
    getMessageQueue().publish(new SimpleMessage(
        Topic.SESSION_CLEAN.name(), "start"));
    return ServiceResponse.createSuccessResponse(
        Messages.get("successfull_reset", "Cache"));
  }
View Full Code Here

      }
    }
    else {
      originalView = "/cms/index.vm";
    }
    getMessageQueue().publish(new SimpleMessage(Topic.LOGIN.name(),
        user.getEmail()));
    return ServiceResponse.createSuccessResponse(originalView);
  }
View Full Code Here

        }
        getDao().getPageDao().save(page);
      }
      if (getBusiness().getSystemService()
          .getRequestCPUTimeSeconds() > 20) {
        SimpleMessage msg = new SimpleMessage(PageTitleUpdate.class);
        getBusiness().getMessageQueue().publish(msg);
        return;
      }
    }
    logger.info("PageTitleUpdate 0.7 task completed.");
View Full Code Here

TOP

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

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.