after looking at code and documentation while writing another post, I noticed an inconsistency in the R21 SDK docs:
The documentation of PluginMessage() shows example code with a call to SetPriority(). However, it should be SetPluginPriority().
Hi Frank, thanks a lot for reporting the issue here.
It will appear fixed in the next future.