-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
message_router.puml
39 lines (31 loc) · 999 Bytes
/
message_router.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
@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')
left to right direction
Title("Message Router", "from www.enterpriseintegrationpatterns.com")
include('eip-1/MessagingSystems/MessageSingleGreen')
include('eip-1/MessagingSystems/MessageSingleOrange')
include('eip-1/MessagingSystems/MessageChannel')
include('eip-1/MessagingEndpoints/Endpoint')
include('eip-1/MessageRouting/ContentBasedRouter')
MessageSingleGreen('msg1')
MessageSingleGreen('msg2')
MessageChannel('inQueue', 'inQueue')
MessageChannel('outQueue1', 'outQueue 1')
MessageChannel('outQueue2', 'outQueue 2')
ContentBasedRouter('router', 'Message Router')
Endpoint('endpoint1')
Endpoint('endpoint2')
msg1 --> inQueue
inQueue --> router
router --> msg2
msg2 --> outQueue1
router ...> outQueue2
outQueue1 --> endpoint1
outQueue2 --> endpoint2
@enduml