Slide 14
Slide 14 text
Copyright © 2023, Oracle and/or its affiliates.
14
LRAの処理の流れ(通常トランザクション時)
PUT /complete (LRA_ID)
complete (LRA_ID)
Service2
(participants2)
LRA-coordinator
Service1
(participants1)
initiator
POST / operation (LRA_ID, xxx)
POST /service2 (LRA_ID, yyy)
close (LRA_ID)
operation (LRA_ID, xxx)
operation (LRA_ID, yyy)
complete (LRA_ID)
join (LRA_ID, ‘/complete’, ‘/compensate’)
join (LRA_ID, ‘/complete’, ‘/compensate’)
startLRA
PUT /complete (LRA_ID)
LRA全体のライフサイクル
サービス毎のライフサイクル
JAX-RS内でHTTPヘッダーを伝播
パスは任意