protected function applyEventUpdated(EventUpdated $eventUpdated, DomainMessage $message)
 {
     $this->logger->debug('UDB2 event updated, with url ' . $eventUpdated->getUrl());
     $xml = $this->retrieveXml($eventUpdated->getUrl());
     $enrichedEventUpdated = EventUpdatedEnrichedWithCdbXml::fromEventUpdated($eventUpdated, $xml, $this->cdbXmlNamespaceUri);
     $this->publish($enrichedEventUpdated, $message->getMetadata());
 }
 public static function fromEventUpdated(EventUpdated $eventUpdated, StringLiteral $cdbXml, StringLiteral $cdbXmlNamespaceUri)
 {
     return new self($eventUpdated->getEventId(), $eventUpdated->getTime(), $eventUpdated->getAuthor(), $eventUpdated->getUrl(), $cdbXml, $cdbXmlNamespaceUri);
 }