/**
  * Initializes the MetaDataRoutingStrategy where the given <code>metaDataKey</code> is used to get the Meta Data
  * value. The given <code>unresolvedRoutingKeyPolicy</code> presecribes what to do when the Meta Data properties
  * cannot be found.
  *
  * @param string $metaDataKey The key on which the value is retrieved from the MetaData.
  * @param int $unresolvedRoutingKeyPolicy The policy prescribing behavior when the routing key cannot be resolved
  */
 public function __construct($metaDataKey, $unresolvedRoutingKeyPolicy = UnresolvedRoutingKeyPolicy::ERROR)
 {
     parent::__construct($unresolvedRoutingKeyPolicy);
     $this->metaDataKey = $metaDataKey;
 }
 /**
  * @param AnnotationReaderFactoryInterface $annotationReaderFactory
  * @param int $unresolvedRoutingKeyPolicy
  */
 public function __construct(AnnotationReaderFactoryInterface $annotationReaderFactory, $unresolvedRoutingKeyPolicy = UnresolvedRoutingKeyPolicy::ERROR)
 {
     parent::__construct($unresolvedRoutingKeyPolicy);
     $this->reader = $annotationReaderFactory->getReader();
 }