Package org.apache.tuscany.sca.runtime

Examples of org.apache.tuscany.sca.runtime.RuntimeEndpointReference.invokeAsyncResponse()


          // Handle async response Relates_To message ID value
          String msgID = respInvoker.getRelatesToMsgID();
          msg.getHeaders().put("RELATES_TO", msgID);
         
          // Call the processing on the reference chain directly
          responseEPR.invokeAsyncResponse(msg);
         
          // Prevent the response being processed by the rest of the service chain
          return;
        } else {
          // Carry on processing the response by the rest of the service chain
View Full Code Here


        epr = asyncInvoker.getResponseTargetAddress();
      } else {
        epr = (RuntimeEndpointReference)msg.getFrom();
      } // end if
      if( epr != null ) {
        epr.invokeAsyncResponse(msg);
      } else {
        throw new ServiceRuntimeException("SCABindingAsyncResponseInvoker - invokeAsyncResponse has null epr");
      } // end if
       
    } // end method invokeAsyncResponse
View Full Code Here

          // Handle async response Relates_To message ID value
          String msgID = respInvoker.getRelatesToMsgID();
          msg.getHeaders().put("RELATES_TO", msgID);
         
          // Call the processing on the reference chain directly
          responseEPR.invokeAsyncResponse(msg);
         
          // Prevent the response being processed by the rest of the service chain
          return;
        } else {
          // Carry on processing the response by the rest of the service chain
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.