@startuml

!include ./smc_components_base.puml

[rabbitMQ]

package "Kupol mgmnt docker" {
    interface "SMC\nrabbitMQ\nconsumer" as smc_rabbitMQ_consumer
    interface "SMC\nrabbitMQ\nproducer" as smc_rabbitMQ_producer
    [smc_backend] -right[#red,thickness=2]- smc_rabbitMQ_consumer
    [smc_backend] -up[#red,thickness=2]- smc_rabbitMQ_producer 
}

smc_rabbitMQ_consumer <.right[#red,thickness=2]. [rabbitMQ]
smc_rabbitMQ_producer .right[#red,thickness=2].> [rabbitMQ]

package "Kupol request center" {
    interface "RC\nrabbitMQ\nconsumer" as rc_rabbitMQ_consumer
    interface "RC\nrabbitMQ\nproducer" as rc_rabbitMQ_producer
    [rc_backend] -up[#red,thickness=2]- rc_rabbitMQ_consumer
    [rc_backend] -left[#red,thickness=2]- rc_rabbitMQ_producer
}

rc_rabbitMQ_consumer <.right[#red,thickness=2]. [rabbitMQ]
rc_rabbitMQ_producer .right[#red,thickness=2].> [rabbitMQ]

@enduml