split messaging sequence diagram

This commit is contained in:
2025-12-11 20:09:44 +01:00
parent 29ed2a8d60
commit 2146fbab9a
2 changed files with 112 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
@startuml Messaging Sequenzdiagramm Rechts
participant Kafka
group "Persistence: Request verarbeiten und Response produzieren"
Transaction -> CommandWrapper : process(cmdW)
CommandWrapper -> Command : <<reflection>>\ndeserialize(cmdW)
CommandWrapper <-- Command : cmd
CommandWrapper -> Command : process(cmd)
Command -> CDI : select(Class)
Command <-- CDI : Processor
Command -> Processor : process(cmd)
note over Processor : Verarbeitung\ndes Commands
Command <-- Processor : resp
CommandWrapper <-- Command : resp
Transaction <-- CommandWrapper : resp
Transaction -> CommandResponse : serialize(resp).copyIds(cmdW)
Transaction <-- CommandResponse : respW
Transaction -> Interceptor : intercept(respW)
note over Interceptor : (asynchron;\nDetails nicht\ndargestellt)
Transaction <-- Interceptor
Transaction -> Transaction : commit()
Transaction -> Kafka : produce(respW)
Transaction <-- Kafka : Ack
end
@enduml