/** * Returns the priority of the message. * * @return \AppserverIo\Psr\Pms\PriorityKeyInterface The priority of the message */ public function getPriority() { return PriorityKeys::get($this->priority); }