|
@@ -84,7 +84,9 @@ class RabbitUserController extends Controller
|
|
|
public function actionWorker()
|
|
|
{
|
|
|
|
|
|
- $connection = new AMQPStreamConnection('172.30.118.225', 5673, 'guest', 'guest');
|
|
|
+
|
|
|
+ $connection = new AMQPStreamConnection('localhost', 5673, 'guest', 'guest');
|
|
|
+// $connection = new AMQPStreamConnection('172.30.118.225', 5673, 'guest', 'guest');
|
|
|
$channel = $connection->channel();
|
|
|
|
|
|
$channel->queue_declare('login', false, true, false, false);
|