Examples of FaultManager


Examples of org.apache.sandesha2.util.FaultManager

    boolean isRMGlobalMessage = SandeshaUtil.isRMGlobalMessage(msgContext);
    if (!isRMGlobalMessage) {
      return;
    }

    FaultManager faultManager = new FaultManager();
    RMMsgContext faultMessageContext = faultManager
        .checkForPossibleFaults(msgContext);
    if (faultMessageContext != null) {
      ConfigurationContext configurationContext = msgContext
          .getConfigurationContext();
      AxisEngine engine = new AxisEngine(configurationContext);
View Full Code Here

Examples of org.apache.sandesha2.util.FaultManager

      String message = SandeshaMessageHelper.getMessage(SandeshaMessageKeys.configContextNotSet);
      log.debug(message);
      throw new SandeshaException(message);
    }

    FaultManager faultManager = new FaultManager();
    SandeshaException fault = faultManager.checkForUnknownSequence(rmMsgCtx, sequenceId, storageManager);
    if (fault != null) {
      throw fault;
    }

    // setting mustUnderstand to false.
    sequence.setMustUnderstand(false);
    rmMsgCtx.addSOAPEnvelope();

    // throwing a fault if the sequence is closed.
    fault = faultManager.checkForSequenceClosed(rmMsgCtx, sequenceId, storageManager);
    if (fault != null) {
      throw fault;
    }

    fault = faultManager.checkForLastMsgNumberExceeded(rmMsgCtx, storageManager);
    if (fault != null) {
      throw fault;
    }

    // updating the last activated time of the sequence.
View Full Code Here

Examples of org.apache.sandesha2.util.FaultManager

      OMElement body = terminateSeqRMMsg.getSOAPEnvelope().getBody();
      SecurityToken token = secManager.recoverSecurityToken(tokenBean.getValue());
      secManager.checkProofOfPossession(token, body, terminateSeqRMMsg.getMessageContext());
    }

    FaultManager faultManager = new FaultManager();
    SandeshaException fault = faultManager.checkForUnknownSequence(terminateSeqRMMsg, sequenceId,
        storageManager);
    if (fault != null) {
      throw fault;
    }
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.