摘要: 生产者 require_once './vendor/autoload.php'; use PhpAmqpLib\Connection\AMQPStreamConnection; use PhpAmqpLib\Message\AMQPMessage; $exchangeName = 'exchang 阅读全文
posted @ 2021-04-11 21:50 setevn 阅读(75) 评论(0) 推荐(0) 编辑
摘要: <?php require_once './vendor/autoload.php'; use PhpAmqpLib\Connection\AMQPStreamConnection; $connection = new AMQPStreamConnection('127.0.0.1', 5672, 阅读全文
posted @ 2021-04-11 21:18 setevn 阅读(134) 评论(0) 推荐(0) 编辑
摘要: <?php require_once '../vendor/autoload.php'; use PhpAmqpLib\Connection\AMQPStreamConnection; use PhpAmqpLib\Message\AMQPMessage; use PhpAmqpLib\Wire\A 阅读全文
posted @ 2021-04-11 21:17 setevn 阅读(203) 评论(0) 推荐(0) 编辑
摘要: <?php require_once './vendor/autoload.php'; use PhpAmqpLib\Connection\AMQPStreamConnection; use PhpAmqpLib\Message\AMQPMessage; use PhpAmqpLib\Wire\AM 阅读全文
posted @ 2021-04-11 21:07 setevn 阅读(365) 评论(0) 推荐(0) 编辑
摘要: <?php require_once '../vendor/autoload.php'; use PhpAmqpLib\Connection\AMQPStreamConnection; use PhpAmqpLib\Message\AMQPMessage; $exchangeName = 'exch 阅读全文
posted @ 2021-04-11 20:53 setevn 阅读(945) 评论(0) 推荐(0) 编辑