Package org.apache.axis2.clustering.management

Examples of org.apache.axis2.clustering.management.GroupManagementAgent.send()


        TestLogger.logger.debug("[server] response message [" + responseEnv.toString() + "]");
       
        response.getOperationContext().addMessageContext(response);
        AxisEngine engine = new AxisEngine(response.getConfigurationContext());
        engine.send(response);   
    }
   
    /*
     * Verify that the AxisOperation on the MessageContext is the
     * one that we were expecting based on the request.
View Full Code Here


            responseMessageContext.setProperty(SynapseConstants.RELATES_TO_FOR_POX, msgctx.getMessageID());
            responseMessageContext.setOptions(options);
      addMessageContext(responseMessageContext);

            AxisEngine engine = new AxisEngine(msgctx.getConfigurationContext());
      engine.send(msgctx);

            // did the engine receive a immediate synchronous response?
            // e.g. sometimes the transport sender may listen for a syncronous reply
      if (msgctx.getProperty(MessageContext.TRANSPORT_IN) != null) {
View Full Code Here

                messageContext.getEnvelope().getHeader() == null) {
                SOAPFactory fac = messageContext.isSOAP11() ?
                    OMAbstractFactory.getSOAP11Factory() : OMAbstractFactory.getSOAP12Factory();
                fac.createSOAPHeader(messageContext.getEnvelope());
            }
            ae.send(messageContext);

        } catch (AxisFault e) {
            handleException("Unexpected error sending message back", e);
        }
    }
View Full Code Here

          org.apache.axis2.Constants.RESPONSE_WRITTEN, "true");

      rmMsgCtx.getMessageContext().setProperty(Sandesha2Constants.ACK_WRITTEN,
          "true");
      try {
        engine.send(ackRMMsgCtx.getMessageContext());
      } catch (AxisFault e1) {
        throw new SandeshaException(e1.getMessage());
      }
    } else {
View Full Code Here

      Object obj1 = createSeqMsg.getOperationContext().getProperty(
          org.apache.axis2.Constants.RESPONSE_WRITTEN);

      AxisEngine engine = new AxisEngine(context);
      engine.send(outMessage);

      Object obj = createSeqMsg.getOperationContext().getProperty(
          org.apache.axis2.Constants.RESPONSE_WRITTEN);
      if (Sandesha2Constants.WSA.NS_URI_ANONYMOUS.equals(createSeqMsg.getReplyTo()
          .getAddress())) {
View Full Code Here

    FaultManager faultManager = new FaultManager();
    RMMsgContext faultMessageContext = faultManager
        .checkForPossibleFaults(msgCtx);
    if (faultMessageContext != null) {
      AxisEngine engine = new AxisEngine(context);
      engine.send(faultMessageContext.getMessageContext());
      return;
    }

    AxisService axisService = msgCtx.getAxisService();
    if (axisService == null)
View Full Code Here

        .checkForPossibleFaults(msgContext);
    if (faultMessageContext != null) {
      ConfigurationContext configurationContext = msgContext
          .getConfigurationContext();
      AxisEngine engine = new AxisEngine(configurationContext);
      engine.send(faultMessageContext.getMessageContext());
      return;
    }

    RMMsgContext rmMessageContext = MsgInitializer
        .initializeMessage(msgContext);
View Full Code Here

      // commiting tr. before sending the response msg.

      SequenceManager.updateLastActivatedTime(newSequenceId, storageManager);

      AxisEngine engine = new AxisEngine(context);
      engine.send(outMessage);

      SequencePropertyBean toBean = seqPropMgr.retrieve(newSequenceId,
          Sandesha2Constants.SequenceProperties.TO_EPR);
      if (toBean == null) {
        String message = SandeshaMessageHelper.getMessage(SandeshaMessageKeys.toEPRNotValid, null);
View Full Code Here

     
     
      outMessage.setServerSide(true);
     
     
      engine.send(outMessage);

      String addressingNamespaceURI = SandeshaUtil
          .getSequenceProperty(
              sequencePropertyKey,
              Sandesha2Constants.SequenceProperties.ADDRESSING_NAMESPACE_VALUE,
View Full Code Here

      rmMsgCtx.getMessageContext().setProperty(Sandesha2Constants.ACK_WRITTEN, "true");

      ackRMMsgCtx.getMessageContext().setServerSide(true);
     
      AxisEngine engine = new AxisEngine(configCtx);
      engine.send(ackRMMsgCtx.getMessageContext());

    } else {

      // / Transaction asyncAckTransaction =
      // storageManager.getTransaction();
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.