/**
  * Fetches the given message from the storage. It returns null if no message is found.
  *
  * @param string $messageId
  *
  * @return OutboxMessage|null
  */
 public function get($messageId)
 {
     $outboxRecord = $this->persister->get($this->endpointId, $messageId);
     if ($outboxRecord) {
         return $this->messageConverter->fromDatabaseArray($outboxRecord);
     }
     return null;
 }