Examples of SimpleMessage


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

*/
public class ImportFile extends AbstractSubscriber {

  public void onMessage(Message message) {
    try {
      SimpleMessage msg = (SimpleMessage)message;
      String path = msg.getMessage();
      if (ImportExportBusinessImpl.isGlobalSequenceImportFile(
          path.substring(1))) {
        return;
      }
      VfsNode node = VfsNode.find(path);
View Full Code Here

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

    }
  }

  @Override
  public void clearSessions() {
    getMessageQueue().publish(new SimpleMessage(
        Topic.SESSION_CLEAN.name(), "start"));
  }
View Full Code Here

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

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

  @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

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

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

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

        }
        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

Examples of project.gluebooster.events.SimpleMessage

    if (ex4 != null)
    {
      getLog().warn("no anleihe:", ex4);
      detail += "\nAnleihe Error: " + ex4;
    }
    userMessages.transform(new SimpleMessage(getName(), "Neither Shares nor Funds nor Anleihe", detail, Level.WARNING));
    return false;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.