消息确认模式confirm
<?php
require_once __DIR__ . '/../../vendor/autoload.php';
use PhpAmqpLib\Connection\AMQPStreamConnection;
$connection = new AMQPStreamConnection('127.0.0.1', 5672, 'guest', 'guest');
$channel = $connection->channel();
$exchange='order_eval'; //交换.
转载
2020-11-18 09:50:15 ·
966 阅读 ·
1 评论