Skip to main content

Messages

Message Definition

A message is shown as a line from the sender MessageEnd to the receiver MessageEnd.

See Unified Modeling Language v2.5.1, section 17.4.4.1.

Message typeDSLLine and arrowhead (Spec)Visualization
AsyncA->B: Async messagesolid line with open arrowheadSequence diagram showing an asynchronous message from A to B
SyncA.method()filled arrowheadSequence diagram showing a synchronous method call from A to B
Replyret = A.method
return ret
@return A->B: message
dashed line with either an open or filled arrowhead
* ZenUML renderer use open arrowhead.
Sequence diagram showing method calls and dashed return messages
Object creationnew ClassName()dashed line with an open arrowheadSequence diagram showing an object creation message for participant A