Asynchronous Message
Last updated
Last updated
An Asynchronous Message in a UML Sequence Diagram represents a call where the sender doesn't wait for a response before continuing. In Modeldraw, you can use Asynchronous Messages to show non-blocking method invocations or requests that allow the sender to continue processing immediately.
An Asynchronous Message represents a call where the sender continues processing immediately after sending the message. Key characteristics include:
It shows a call that doesn't block the sender
It is drawn as a solid line with an open arrowhead
It may or may not trigger the start of an Activation Bar on the receiving Lifeline
It typically doesn't have an immediate return message
An Asynchronous Message is represented in UML by a solid line with an open arrowhead pointing from the sender to the receiver.
Asynchronous Messages are crucial in Sequence Diagrams for:
Representing non-blocking method calls or events
Showing interactions where the sender doesn't wait for a response
Indicating parallel or concurrent processing
To create an Asynchronous Message in Modeldraw:
Select the Asynchronous Message tool from the toolbox.
Click on the Activation Bar of the sending Lifeline where you want the message to start.
Move your cursor to the receiving Lifeline.
Click on the Activation Bar of the receiving Lifeline where you want the message to end.
The Asynchronous Message will be created between the two Activation Bars.
To create a Self-Call in Modeldraw:
Select either the Synchronous Message or Asynchronous Message tool from the toolbox, depending on the type of Self-Call you want to create.
Click once on the Activation Bar where you want the Self-Call to start.
Click again on the same Activation Bar where you want the Self-Call to end.
The Self-Call will be created, represented by a looping arrow (solid for Synchronous, dashed for Asynchronous).