guoliang3 opened a new issue, #7252:
URL: https://github.com/apache/incubator-seata/issues/7252

   //应用A的a2方法
   
   @TwoPhaseBusinessAction(name = "Tcc")
   public void try(){
      //feign 远程调用
      b.b()
   }
   
   public void commit(){
       //不关键忽略
   }
   
   public void rollback(){
       //不关键忽略
   }
   
------------------------------------------------------------------------------
   //应用B的b接口
   public void b(){
   //获取的类型为 AT
    BranchType branchType = RootContext.getBranchType();
   
      //模拟一些自己的db处理
       saveDb();
   }
   
   我得问题是 当a服务try放方调用B服务的b方法时候 我不希望b被 seata代理 但是b服务会被自动变成at 进入undo表
   
   服务A可以识别出是个类型是tcc 但是服务B识别的是AT 阅读源码发现 feign 只传递了XID没有传递类型
   
   如果我不想让B的b服务被AT托管怎嘛办(不能去掉jar包因为有别的再用)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org
For additional commands, e-mail: notifications-h...@seata.apache.org

Reply via email to