Close any open persistent connections and initiate a new one with the AMQP broker.
public preconnect ( ) : boolean | ||
return | boolean | TRUE on success or FALSE on failure. |
/** * @inheritdoc */ public function reconnect() : bool { if ($this->options->getPersistent()) { return $this->connection->preconnect(); } else { return $this->connection->reconnect(); } }