-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
simple.puml
40 lines (33 loc) · 1.14 KB
/
simple.puml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
@startuml
' configures the library
!global $INCLUSION_MODE="local"
!global $LIB_BASE_LOCATION=".."
' loads the library's bootstrap
!include $LIB_BASE_LOCATION/bootstrap.puml
' loads the package bootstrap
include('eip-1/bootstrap')
Title("Simple diagram to show some EIP shapes")
include('eip-1/MessageConstruction/CommandMessage')
include('eip-1/MessageConstruction/EventMessage')
include('eip-1/MessagingChannels/DatatypeChannel')
include('eip-1/MessagingSystems/MessageChannel')
include('eip-1/MessagingEndpoints/CompetingConsumers')
include('eip-1/MessagingEndpoints/Application')
include('eip-1/MessageConstruction/ResultMessage')
Application('producer', 'producer')
CommandMessage('cmd', 'a command')
EventMessage('evt', 'an event')
DatatypeChannel('queue', 'command queue', 'DatatypeChannel')
CompetingConsumers('handler', 'command handler', 'CompetingConsumers')
MessageChannel('bus', 'event bus', 'MessageChannel')
MessageChannel('channel', 'result channel', 'MessageChannel')
ResultMessage('result', 'a result')
producer -> cmd
cmd -> queue
queue -> handler
handler -> evt
handler --> result
channel <- result
producer <- channel
evt -> bus
@enduml