[ 
https://issues.apache.org/jira/browse/SCB-245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16461991#comment-16461991
 ] 

ASF GitHub Bot commented on SCB-245:
------------------------------------

WillemJiang commented on a change in pull request #180: [SCB-245] add dubbo 
support for omega, pass omega context from consumer…
URL: 
https://github.com/apache/incubator-servicecomb-saga/pull/180#discussion_r185704698
 
 

 ##########
 File path: 
omega/omega-transport/omega-transport-dubbo/src/main/java/org/apache/servicecomb/saga/omega/transport/dubbo/SagaDubboProviderFilter.java
 ##########
 @@ -0,0 +1,43 @@
+package org.apache.servicecomb.saga.omega.transport.dubbo;
+
+import com.alibaba.dubbo.common.Constants;
+import com.alibaba.dubbo.common.extension.Activate;
+import com.alibaba.dubbo.config.spring.extension.SpringExtensionFactory;
+import com.alibaba.dubbo.rpc.*;
+import org.apache.servicecomb.saga.omega.context.OmegaContext;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import java.lang.invoke.MethodHandles;
+
+import static 
org.apache.servicecomb.saga.omega.context.OmegaContext.GLOBAL_TX_ID_KEY;
+import static 
org.apache.servicecomb.saga.omega.context.OmegaContext.LOCAL_TX_ID_KEY;
+
+/**
+ * get saga transaction id from dubbo invocation and set into omega context
+* @author wuzq
 
 Review comment:
   We normally don't put the author and email into our code, as we can trace 
the code from git.

----------------------------------------------------------------
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:
[email protected]


> [pack] support to intercept dubbo's requests
> --------------------------------------------
>
>                 Key: SCB-245
>                 URL: https://issues.apache.org/jira/browse/SCB-245
>             Project: Apache ServiceComb
>          Issue Type: Improvement
>          Components: Saga
>    Affects Versions: saga-0.2.0
>            Reporter: Eric Lee
>            Priority: Minor
>             Fix For: saga-0.2.0
>
>
> as a sdk, I want to be able to intercept the incoming and outgoing requests 
> of apps developed by dubbo and inject the transaction ids in its header.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to