Examples of removeMessageContext()


Examples of org.apache.axis2.context.OperationContext.removeMessageContext()

                if(axisOp!=null){
          String mepURI  = axisOp.getMessageExchangePattern();
          if (WSDL2Constants.MEP_URI_OUT_IN.equals(mepURI)) {
            OperationContext opCtx = msgContext.getOperationContext();
            if (opCtx != null) {
              opCtx.removeMessageContext(WSDLConstants.MESSAGE_LABEL_IN_VALUE);
            }
          }
        }
        else{
          log.debug("Could not clean up op ctx for " + msgContext);
View Full Code Here

Examples of org.apache.axis2.context.OperationContext.removeMessageContext()

                if(axisOp!=null){
          String mepURI  = axisOp.getMessageExchangePattern();
          if (WSDL2Constants.MEP_URI_OUT_IN.equals(mepURI)) {
            OperationContext opCtx = msgContext.getOperationContext();
            if (opCtx != null) {
              opCtx.removeMessageContext(WSDLConstants.MESSAGE_LABEL_IN_VALUE);
            }
          }
        }
        else{
          log.debug("Could not clean up op ctx for " + msgContext);
View Full Code Here

Examples of org.apache.axis2.context.OperationContext.removeMessageContext()

                if(axisOp!=null){
          String mepURI  = axisOp.getMessageExchangePattern();
          if (WSDL2Constants.MEP_URI_OUT_IN.equals(mepURI)) {
            OperationContext opCtx = msgContext.getOperationContext();
            if (opCtx != null) {
              opCtx.removeMessageContext(WSDLConstants.MESSAGE_LABEL_IN_VALUE);
            }
          }
        }
        else{
          log.debug("Could not clean up op ctx for " + msgContext);
View Full Code Here

Examples of org.apache.axis2.context.OperationContext.removeMessageContext()

                if(axisOp!=null){
          String mepURI  = axisOp.getMessageExchangePattern();
          if (WSDL2Constants.MEP_URI_OUT_IN.equals(mepURI)) {
            OperationContext opCtx = msgContext.getOperationContext();
            if (opCtx != null) {
              opCtx.removeMessageContext(WSDLConstants.MESSAGE_LABEL_IN_VALUE);
            }
          }
        }
        else{
          log.debug("Could not clean up op ctx for " + msgContext);
View Full Code Here

Examples of org.apache.axis2.context.OperationContext.removeMessageContext()

                if(axisOp!=null){
          String mepURI  = axisOp.getMessageExchangePattern();
          if (WSDL2Constants.MEP_URI_OUT_IN.equals(mepURI)) {
            OperationContext opCtx = msgContext.getOperationContext();
            if (opCtx != null) {
              opCtx.removeMessageContext(WSDLConstants.MESSAGE_LABEL_IN_VALUE);
            }
          }
        }
        else{
          log.debug("Could not clean up op ctx for " + msgContext);
View Full Code Here

Examples of org.apache.sandesha2.storage.StorageManager.removeMessageContext()

        } else {
          senderBeanMgr.delete(bean1.getMessageID());

          // removing the message from the storage.
          String messageStoredKey = bean1.getMessageContextRefKey();
          storageManager.removeMessageContext(messageStoredKey);
        }
      }

      // Commit the transaction to release the SenderBean
View Full Code Here

Examples of org.apache.sandesha2.storage.StorageManager.removeMessageContext()

        matcher.setMessageID(messageId);
        SenderBean sender = storageManager.getSenderBeanMgr().findUnique(matcher);
        if(sender != null) {
          if(log.isDebugEnabled()) log.debug("Deleting sender for sync-2-way message");
         
          storageManager.removeMessageContext(sender.getMessageContextRefKey());
         
          //this causes the request to be deleted even without an ack.
          storageManager.getSenderBeanMgr().delete(messageId);
         
          // Try and terminate the corresponding outbound sequence
View Full Code Here

Examples of org.apache.sandesha2.storage.StorageManager.removeMessageContext()

      SandeshaUtil.getRMDBeanFromSequenceId(storageManager, invokerBean.getSequenceID());
      // Depending on the transaction  support, the service will be invoked only once.
      // Therefore we delete the invoker bean and message now, ahead of time
      invokerBeanMgr.delete(messageContextKey);
      // removing the corresponding message context as well.
      storageManager.removeMessageContext(messageContextKey);

      try {

        boolean postFailureInvocation = false;
View Full Code Here

Examples of org.apache.sandesha2.storage.StorageManager.removeMessageContext()

    // deleting the create sequence entry.
    retransmitterMgr.delete(createSeqMsgId);
   
    // Remove the create sequence message
    storageManager.removeMessageContext(rmsBean.getCreateSequenceMsgStoreKey());
       
    // processing for accept (offer has been sent)
    Accept accept = createSeqResponsePart.getAccept();
    if (accept != null) {
View Full Code Here

Examples of org.apache.sandesha2.storage.StorageManager.removeMessageContext()

              }

              if (!syncResponseNeeded) {
                // removing the application message from the storage.
                retransmitterMgr.delete(retransmitterBean.getMessageID());
                storageManager.removeMessageContext(storageKey);
              }
            }
          }//end for
        }//end for
      } //end while
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.