I'm trying to do something like the following, but it doesn't look right. I'm guessing I need to somehow label the lifelines to end them appropriately. Is it possible to do so?
@startuml
R1 -[#blue]> Q : Add [R1]
activate Q #blue
Q -[#blue]> Q : Do some stuff [R1]
R2 -[#orange]> Q : Add [R2]
activate Q #orange
R1 <-[#blue]- Q : done [R1]
deactivate Q
Q -[#orange]> Q : Do some stuff [R2]
R2 <-[#orange]- Q : done [R2]
deactivate Q
@enduml