zhengyangyong commented on a change in pull request #210: [SCB-244] enable 
servicecomb and add demo
URL: 
https://github.com/apache/incubator-servicecomb-saga/pull/210#discussion_r196996240
 
 

 ##########
 File path: 
omega/omega-transport/omega-transport-servicecomb/src/main/java/org/apache/servicecomb/saga/omega/transport/servicecomb/SagaProviderHandler.java
 ##########
 @@ -54,6 +62,8 @@ public void handle(Invocation invocation, AsyncResponse 
asyncResponse) throws Ex
         omegaContext.setGlobalTxId(globalTxId);
         
omegaContext.setLocalTxId(invocation.getContext().get(LOCAL_TX_ID_KEY));
       }
+    } else {
+      LOG.warn("The OmegaContext is not injected, The SagaConsumerHandler is 
disabled.");
 
 Review comment:
   Done

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to