/**
  * {@inheritdoc}
  */
 public function resolve($message)
 {
     $name = $this->messageNameResolver->resolve($message);
     return $this->messageSubscribers->filter($name);
 }
 /**
  * {@inheritdoc}
  */
 public function resolve($message)
 {
     $name = $this->messageNameResolver->resolve($message);
     return $this->messageHandlers->get($name);
 }