8000 Fix php concatenation · diamondtech/rabbitmq-tutorials@1f0dde6 · GitHub
[go: up one dir, main page]

10000 Skip to content

Commit 1f0dde6

Browse files
committed
Fix php concatenation
1 parent 73511e4 commit 1f0dde6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

php/receive_logs_direct.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
echo ' [*] Waiting for logs. To exit press CTRL+C', "\n";
2424

2525
$callback = function($msg){
26-
echo ' [x] ',$msg->delivery_info['routing_key'], ':', $msg->body, "\n";
26+
echo ' [x] '.$msg->delivery_info['routing_key' 6509 ].':'.$msg->body."\n";
2727
};
2828

2929
$channel->basic_consume($queue_name, '', false, true, false, false, $callback);
@@ -35,4 +35,4 @@
3535
$channel->close();
3636
$connection->close();
3737

38-
?>
38+
?>

0 commit comments

Comments
 (0)
0