public function getDefaultQueue()
    {
        return $this->hasOption(self::OPTION_DEFAULT_QUEUE) && $this->getOption(self::OPTION_DEFAULT_QUEUE)
            ? $this->getQueue($this->getOption(self::OPTION_DEFAULT_QUEUE))
            : $this->getFirstQueue();
    }
public function getDefaultQueue()
    {
        return $this->hasOption(self::OPTION_DEFAULT_QUEUE) && $this->getOption(self::OPTION_DEFAULT_QUEUE)
            ? $this->getQueue($this->getOption(self::OPTION_DEFAULT_QUEUE))
            : $this->getFirstQueue();
    }
public function getDefaultQueue ( ) { return $ this -> hasOption ( self :: OPTION_DEFAULT_QUEUE ) && $ this -> getOption ( self :: OPTION_DEFAULT_QUEUE ) ? $ this -> getQueue ( $ this -> getOption ( self :: OPTION_DEFAULT_QUEUE ) ) : $ this -> getFirstQueue ( ) ; }
Return the first queue as a default one.
Maybe, later we need other logic the determine the default queue.

@return QueueInterface
Return the first queue as a default one . Maybe later we need other logic the determine the default queue .