public class TransactionPropagationServerInterceptor
extends AbstractInterceptor
implements io.seata.integration.rpc.core.ProviderRpcFilter<Request>
1. load SEATA xid from brpc request in handleRequest
2. clear SEATA xid when brpc request done in aroundProcess
| Constructor and Description |
|---|
TransactionPropagationServerInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
aroundProcess(Request brpcRequest,
Response brpcResponse,
InterceptorChain chain) |
String |
getRpcContext(Request rpcContext,
String key) |
boolean |
handleRequest(Request request) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic TransactionPropagationServerInterceptor()
Copyright © 2023 Seata. All rights reserved.