コード例 #1
0
ファイル: consumer.php プロジェクト: nicevoice/yhtx
 /**
  * 重写重新连接
  * @return bool|void
  */
 public function reconnect()
 {
     parent::reconnect();
     $this->init($this->sExchangeName, $this->sQueueName, $this->sRoutingKey, $this->bDurable);
 }
コード例 #2
0
ファイル: producer.php プロジェクト: nicevoice/yhtx
 /**
  * 重写重新连接
  * @return bool|void
  */
 public function reconnect()
 {
     parent::reconnect();
     $this->init($this->sExchangeName, $this->sExchangeType, $this->bDurable);
 }