AppserverIo\Appserver\MessageQueue\QueueManager::locate PHP Méthode

locate() public méthode

Tries to locate the queue that handles the request and returns the instance if one can be found.
public locate ( AppserverIo\Psr\Pms\QueueInterface $queue ) : AppserverIo\Psr\Pms\QueueInterface
$queue AppserverIo\Psr\Pms\QueueInterface The queue request
Résultat AppserverIo\Psr\Pms\QueueInterface The requested queue instance
    public function locate(QueueInterface $queue)
    {
        return $this->getResourceLocator()->locate($this, $queue);
    }