PlantUML produces error when specifying asynchronous messages

110 Views Asked by At

I have this PlantUML code (.puml)

@startuml
title Asynchronous Message Example

participant Alice
participant Bob

Alice -> Bob: Request
Bob --> Alice: Acknowledgment
Alice ::> Bob: Asynchronous Message
Bob ::> Alice: Asynchronous Response

@enduml

and I get this result:

enter image description here

The plantuml version I am using is:

enter image description here

1

There are 1 best solutions below

0
Christophe On BEST ANSWER

Asynchronous messages shall be encoded as ->> or <<- according to the plantuml online documentation on sequence diagrams and the official language reference manual.

It is therefore normal that your plantuml instance complains about the use of ::>, as it is not the correct syntax, independently of your plugin.

How to solve it: 1) Check with the author of the puml why the token ::> was used; 2) If the author is an automatic generator, report a bug for the generator.