Examples of findUnique()


Examples of org.apache.sandesha2.storage.beanmanagers.RMDBeanMgr.findUnique()

        //If this is the RMD of the sequence
        RMDBeanMgr rmdBeanMgr = storageManager.getRMDBeanMgr();
        RMDBean rmdFindBean = new RMDBean();
        rmdFindBean.setSequenceID(sequenceID);

        RMDBean rmdBean = rmdBeanMgr.findUnique(rmdFindBean);
        if (rmdBean != null) {

          String serviceName = rmdBean.getServiceName();
          if (serviceName != null) {
            service = configurationContext.getAxisConfiguration()
View Full Code Here

Examples of org.apache.sandesha2.storage.beanmanagers.RMDBeanMgr.findUnique()

    RMDBeanMgr nextMsgMgr = storageManager.getRMDBeanMgr();
    RMDBean findBean = new RMDBean();
    findBean.setPollingMode(true);
    findBean.setTerminated(false);
    findBean.setSequenceID(entry.getSequenceId());
    RMDBean nextMsgBean = nextMsgMgr.findUnique(findBean);
   
    if(nextMsgBean == null) {
      // This sequence must have been terminated, or deleted
      stopThreadForSequence(entry.getSequenceId(), false);
    } else {
View Full Code Here

Examples of org.apache.sandesha2.storage.beanmanagers.RMDBeanMgr.findUnique()

  throws SandeshaException {
    RMDBeanMgr rmdBeanMgr = storageManager.getRMDBeanMgr();
    RMDBean bean = new RMDBean();
    bean.setSequenceID(sequenceID);
   
    bean = rmdBeanMgr.findUnique(bean);

    return bean;
  }

  public static String getSequenceIDFromInternalSequenceID(String internalSequenceID,
View Full Code Here

Examples of org.apache.sandesha2.storage.beanmanagers.RMDBeanMgr.findUnique()

    RMDBeanMgr nextMsgMgr = storageManager.getRMDBeanMgr();
    RMDBean findBean = new RMDBean();
    findBean.setPollingMode(true);
    findBean.setTerminated(false);
    findBean.setSequenceID(entry.getSequenceId());
    RMDBean nextMsgBean = nextMsgMgr.findUnique(findBean);
   
    if(nextMsgBean == null) {
      // This sequence must have been terminated, or deleted
      stopThreadForSequence(entry.getSequenceId(), false);
    } else {
View Full Code Here

Examples of org.apache.sandesha2.storage.beanmanagers.RMDBeanMgr.findUnique()

        } else {
          RMDBean findBean = new RMDBean ();
          findBean.setPollingMode(true);
          findBean.setSequenceID(sequenceId);
         
          rmdBean = rmdBeanMgr.findUnique(findBean);
        }
       
        //If not valid entry is found, try again later.
        if (rmdBean==null)
          continue;
View Full Code Here

Examples of org.apache.sandesha2.storage.beanmanagers.RMSBeanMgr.findUnique()

      sequenceReport.setInternalSequenceID(internalSequenceID);

      RMSBean createSeqFindBean = new RMSBean();
      createSeqFindBean.setInternalSequenceID(internalSequenceID);

      RMSBean rMSBean = createSeqMgr.findUnique(createSeqFindBean);

      // if data not is available sequence has to be terminated or
      // timedOut.
      if (rMSBean != null && rMSBean.isTerminated()) {
View Full Code Here

Examples of org.apache.sandesha2.storage.beanmanagers.RMSBeanMgr.findUnique()

  throws SandeshaException {
    RMSBeanMgr rmsBeanMgr = storageManager.getRMSBeanMgr();
    RMSBean bean = new RMSBean();
    bean.setInternalSequenceID(internalSequenceID);
   
    bean = rmsBeanMgr.findUnique(bean);

    return bean;
  }
 
  public static final RMSBean getRMSBeanFromSequenceId(StorageManager storageManager, String sequenceID)
View Full Code Here

Examples of org.apache.sandesha2.storage.beanmanagers.RMSBeanMgr.findUnique()

  throws SandeshaException {
    RMSBeanMgr rmsBeanMgr = storageManager.getRMSBeanMgr();
    RMSBean bean = new RMSBean();
    bean.setSequenceID(sequenceID);
   
    bean = rmsBeanMgr.findUnique(bean);

    return bean;
  }

  public static RMDBean getRMDBeanFromSequenceId(StorageManager storageManager, String sequenceID)
View Full Code Here

Examples of org.apache.sandesha2.storage.beanmanagers.RMSBeanMgr.findUnique()

    String outBoundInternalSequence = rmdBean.getOutboundInternalSequence();
   
    RMSBeanMgr rmsBeanMgr = storageManager.getRMSBeanMgr();
    RMSBean findBean = new RMSBean ();
    findBean.setInternalSequenceID(outBoundInternalSequence);
    RMSBean rmsBean = rmsBeanMgr.findUnique (findBean);
   
    if (rmsBean!=null && rmsBean.getLastOutMessage()<=0) {
      //there is a RMS sequence without a LastMsg entry
     
      MessageContext msgContext = rmMsgCtx.getMessageContext();
View Full Code Here

Examples of org.apache.sandesha2.storage.beanmanagers.RMSBeanMgr.findUnique()

    RMSBeanMgr rmsBeanManager = storageManager.getRMSBeanMgr();
    RMSBean findRMS = new RMSBean();
    findRMS.setInternalSequenceID(entry.getSequenceId());
    findRMS.setPollingMode(true);
    findRMS.setTerminated(false);
    RMSBean beanToPoll = rmsBeanManager.findUnique(findRMS);
   
    if(beanToPoll == null) {
      // This sequence must have been terminated, or deleted
      stopThreadForSequence(entry.getSequenceId(), true);
    } else {
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.