Examples of Sandesha2TransportOutDesc


Examples of org.apache.sandesha2.transport.Sandesha2TransportOutDesc

      TransportOutDescription transportOut = msgContext.getTransportOut();
 
      msgContext.setProperty(Sandesha2Constants.ORIGINAL_TRANSPORT_OUT_DESC, transportOut);
      msgContext.setProperty(Sandesha2Constants.SET_SEND_TO_TRUE, Sandesha2Constants.VALUE_TRUE);
 
      Sandesha2TransportOutDesc sandesha2TransportOutDesc = new Sandesha2TransportOutDesc();
      msgContext.setTransportOut(sandesha2TransportOutDesc);
 
       // sending the message once through Sandesha2TransportSender.
       AxisEngine engine = new AxisEngine(configurationContext);
 
View Full Code Here

Examples of org.apache.sandesha2.transport.Sandesha2TransportOutDesc

    msgContext.setProperty(Sandesha2Constants.ORIGINAL_TRANSPORT_OUT_DESC, transportOut);
    msgContext.setProperty(Sandesha2Constants.SET_SEND_TO_TRUE, Sandesha2Constants.VALUE_TRUE);
    msgContext.setProperty(Sandesha2Constants.MESSAGE_STORE_KEY, storageKey);

    Sandesha2TransportOutDesc sandesha2TransportOutDesc = new Sandesha2TransportOutDesc();
    msgContext.setTransportOut(sandesha2TransportOutDesc);

     // sending the message once through Sandesha2TransportSender.
     AxisEngine engine = new AxisEngine(configurationContext);
View Full Code Here

Examples of org.apache.sandesha2.transport.Sandesha2TransportOutDesc

      TransportOutDescription transportOut = msgContext.getTransportOut();
 
      msgContext.setProperty(Sandesha2Constants.ORIGINAL_TRANSPORT_OUT_DESC, transportOut);
      msgContext.setProperty(Sandesha2Constants.SET_SEND_TO_TRUE, Sandesha2Constants.VALUE_TRUE);
 
      Sandesha2TransportOutDesc sandesha2TransportOutDesc = new Sandesha2TransportOutDesc();
      msgContext.setTransportOut(sandesha2TransportOutDesc);
 
       // sending the message once through Sandesha2TransportSender.
      if (msgContext.isPaused())
        AxisEngine.resumeSend(msgContext);
View Full Code Here

Examples of org.apache.sandesha2.transport.Sandesha2TransportOutDesc

      TransportOutDescription transportOut = msgContext.getTransportOut();
 
      msgContext.setProperty(Sandesha2Constants.ORIGINAL_TRANSPORT_OUT_DESC, transportOut);
      msgContext.setProperty(Sandesha2Constants.SET_SEND_TO_TRUE, Sandesha2Constants.VALUE_TRUE);
 
      Sandesha2TransportOutDesc sandesha2TransportOutDesc = new Sandesha2TransportOutDesc();
      msgContext.setTransportOut(sandesha2TransportOutDesc);
     
      //this invocation has to be a blocking one.
      Boolean isTransportNonBlocking = (Boolean) msgContext.getProperty(MessageContext.TRANSPORT_NON_BLOCKING);
      if (isTransportNonBlocking!=null && isTransportNonBlocking.booleanValue())
View Full Code Here

Examples of org.apache.sandesha2.transport.Sandesha2TransportOutDesc

    //This should be dumped to the storage by the sender
    TransportOutDescription transportOut = msgContext.getTransportOut();
    rmMsgCtx.setProperty(Sandesha2Constants.ORIGINAL_TRANSPORT_OUT_DESC,transportOut);
    rmMsgCtx.setProperty(Sandesha2Constants.MESSAGE_STORE_KEY,key);
    rmMsgCtx.setProperty(Sandesha2Constants.SET_SEND_TO_TRUE,Sandesha2Constants.VALUE_TRUE);
    rmMsgCtx.getMessageContext().setTransportOut(new Sandesha2TransportOutDesc ());
    addTerminateSeqTransaction.commit();
   
      AxisEngine engine = new AxisEngine (configurationContext);
      try {
      engine.send(msgContext);
View Full Code Here

Examples of org.apache.sandesha2.transport.Sandesha2TransportOutDesc

   
    createSeqMsg.setProperty(Sandesha2Constants.ORIGINAL_TRANSPORT_OUT_DESC,transportOut);
    createSeqMsg.setProperty(Sandesha2Constants.SET_SEND_TO_TRUE,Sandesha2Constants.VALUE_TRUE);
    createSeqMsg.setProperty(Sandesha2Constants.MESSAGE_STORE_KEY, key);
   
    Sandesha2TransportOutDesc sandesha2TransportOutDesc = new Sandesha2TransportOutDesc ();
    createSeqMsg.setTransportOut(sandesha2TransportOutDesc);

    // sending the message once through Sandesha2TransportSender.
    AxisEngine engine = new AxisEngine(createSeqMsg.getConfigurationContext());
     try {
View Full Code Here

Examples of org.apache.sandesha2.transport.Sandesha2TransportOutDesc

    // changing the sender. This will set send to true.
    TransportSender sender = msg.getTransportOut().getSender();

    if (sender != null) {
      Sandesha2TransportOutDesc sandesha2TransportOutDesc = new Sandesha2TransportOutDesc ();
      msg.setProperty(Sandesha2Constants.MESSAGE_STORE_KEY, storageKey);
      msg.setProperty(Sandesha2Constants.ORIGINAL_TRANSPORT_OUT_DESC,
          msg.getTransportOut());
      msg.setTransportOut(sandesha2TransportOutDesc);
     
View Full Code Here

Examples of org.apache.sandesha2.transport.Sandesha2TransportOutDesc

    //This should be dumped to the storage by the sender
    TransportOutDescription transportOut = terminateRMMessage.getMessageContext().getTransportOut();
    terminateRMMessage.setProperty(Sandesha2Constants.ORIGINAL_TRANSPORT_OUT_DESC,transportOut);
    terminateRMMessage.setProperty(Sandesha2Constants.MESSAGE_STORE_KEY,key);
    terminateRMMessage.setProperty(Sandesha2Constants.SET_SEND_TO_TRUE,Sandesha2Constants.VALUE_TRUE);
    terminateRMMessage.getMessageContext().setTransportOut(new Sandesha2TransportOutDesc ());
    addTerminateSeqTransaction.commit();
   
      AxisEngine engine = new AxisEngine (configurationContext);
      try {
      engine.send(terminateRMMessage.getMessageContext());
View Full Code Here

Examples of org.apache.sandesha2.transport.Sandesha2TransportOutDesc

      ackMsgCtx.setProperty(Sandesha2Constants.ORIGINAL_TRANSPORT_OUT_DESC,ackMsgCtx.getTransportOut());
      ackMsgCtx.setProperty(Sandesha2Constants.SET_SEND_TO_TRUE,Sandesha2Constants.VALUE_TRUE);
     
      ackMsgCtx.setProperty(Sandesha2Constants.MESSAGE_STORE_KEY,key);
     
      ackMsgCtx.setTransportOut(new Sandesha2TransportOutDesc ());
     
      AxisEngine engine = new AxisEngine (configurationContext);
      try {
        engine.send(ackMsgCtx);
      } catch (AxisFault e) {
View Full Code Here

Examples of org.apache.sandesha2.transport.Sandesha2TransportOutDesc

      //passing the message through sandesha2sender
      ackMsgCtx.setProperty(Sandesha2Constants.ORIGINAL_TRANSPORT_OUT_DESC,ackMsgCtx.getTransportOut());
      ackMsgCtx.setProperty(Sandesha2Constants.SET_SEND_TO_TRUE,Sandesha2Constants.VALUE_TRUE);
      ackMsgCtx.setProperty(Sandesha2Constants.MESSAGE_STORE_KEY,key);
      ackMsgCtx.setTransportOut(new Sandesha2TransportOutDesc ());
      RMMsgContext ackRMMessageCtx = MsgInitializer.initializeMessage(ackMsgCtx);
     
      SandeshaUtil.startSenderForTheSequence(configurationContext,sequenceID)
      referenceMsg.pause();
      return ackRMMessageCtx;
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.