I just started working with plantuml, but I do not know how to get what I want.
At the moment I have the following:
#+BEGIN_SRC plantuml :file Graphics/rabbitMQ.eps :noexport
@startuml
[Producer 1]
[Producer 2]
[Producer ...]
[Producer n]
cloud {
[Internet] as Internet1
}
node RabbitMQ {
[Exchange]
[Queue 1]
[Queue 2]
[Queue ...]
[Queue n]
}
cloud {
[Internet] as Internet2
}
[Consumer 1]
[Consumer 2]
[Consumer ...]
[Consumer n]
[Producer 1] --> [Internet1] : Publish
[Producer 2] --> [Internet1] : Publish
[Producer ...] --> [Internet1] : Publish
[Producer n] --> [Internet1] : Publish
[Internet1] -> [Exchange] : Publish
[Exchange] --> [Queue 1] : Route
[Exchange] --> [Queue 2] : Route
[Exchange] --> [Queue ...] : Route
[Exchange] --> [Queue n] : Route
[Queue 1] --> [Internet2] : Consume
[Queue 2] --> [Internet2] : Consume
[Queue ...] --> [Internet2] : Consume
[Queue n] --> [Internet2] : Consume
[Internet2] -> [Consumer 1] : Consume
[Internet2] -> [Consumer 2] : Consume
[Internet2] -> [Consumer ...] : Consume
[Internet2] -> [Consumer n] : Consume
@enduml
#+END_SRC
It seems that going down works much better as going right.
I would like to have [Producer 2], [Producer ...] and [Producer n] below [Producer 1] is this possible? (And the first 2 left and higher as Internet1 and the other 2 left and lower as Internet1.)
The same with queue and consumer. But probably when I have a solution for producer, I will also have a solution for queue and consumer.
--
Cecil Westerhof