'Synchronization of flow in UML Sequence Diagram

How to synchronize flow after sending two asynchronous messages?



Solution 1:[1]

There isn't an explicit construct for this in sequence diagrams afaik. You would have to annotate the diagram with a comment/constraint to indicate the need for synchronisation before further action.

Have you considered an Activity Diagram? They have specific notation for parallelism & synchronisation.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 General Grievance