Skip to content

事务参与者中RequestContextHolder.getRequestAttributes()为null #34

Description

@kissMeet

RequestContextHolder是一个threadlocal变量,事务参与者是新开线程执行的,传递不过去,需要类似groupId一样,在ActorTxTransactionHandler中传递一下,以便事务参与者可以使用RequestContextHolder。
0s ss za40pm5 _adfu23p

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions