How to represent a message queue in a UML Component Diagram


I am developing a Component Diagram to describe the software architecture of a system. Two components communicate using a message queue.

What is the best way to represent s message queue in this Component Diagram?



Hello Alex,

The component diagram is not specific for modeling the communication between components. If you want to model the communication with specific data structure (i.e. message queue), you can create queue stereotype and specify it in the association. If you require any further information, please do not hesitate to contact me again.

Best regards,