php-rabbitmq結合rabbitmq_delayed_message_Exchange実装遅延キュー
687 ワード
1
rabbitmqの再起動
2,php-rabbitmq(自己composerインストール)
#
rabbitmq-plugins list
# ,
wget https://dl.bintray.com/rabbitmq/community-plugins/3.7.x/rabbitmq_delayed_message_exchange/rabbitmq_delayed_message_exchange-20171201-3.7.x.zip
#
unzip rabbitmq_delayed_message_exchange-20171201-3.7.x.zip
# rabbitmq plugins , rabbitmq docker ,plugins /plugins
mv rabbitmq_delayed_message_exchange-20171201-3.7.x.ez ./plugins
# rabbitmq_delayed_message_exchange
rabbitmq-plugins enable rabbitmq_delayed_message_exchange
#
rabbitmq-plugins list
rabbitmqの再起動
2,php-rabbitmq(自己composerインストール)