Typically, a branch refers to a database connection.
一般,分支指的是一个数据库连接。
Use this branch of a flow to define logic that should be executed when a connection has been opened but no data has been processed on it yet.
使用消息流的这个分支定义在连接已打开但尚未开始处理数据时执行的逻辑。
In this example two different databases are used so two different Xid's are necessary - one per database connection (branch).
本例中,使用了两个不同的数据库,所以需要两个不同的Xid——每个数据库连接(分支)一个。
应用推荐