3)
2)
1)
a b c
token
a b c
token
a b c
token
a signal will
move the token
from to
a c
Tx
2)
1)
a b c
token
token
a b c
a signal will
move the token
from to
and produce msg
a b
exe b
exe b
async=”true”
async=”true”
1)
a b c
token
async=”true”
2)
a b c
token
async=”true”
exe b
the command
executor will
consume msg
and execute
node
resulting in the
token moving
from to
b
b
exe b
c
Tx
Tx
Remove rst command
message from queue
(lter out command messages that
have an exception)
Execute the command. Which
means continue the execution
of the process.
Rollback
Add exception to the message
Rollback
The message will remain in the queue
without an exception so it will be retried
评论18