Fix trailing whitespaces in files
This commit is contained in:
parent
1af089219f
commit
d8195f0fd8
46 changed files with 240 additions and 241 deletions
|
@ -21,8 +21,8 @@ if ($argc <= 1)
|
|||
exit();
|
||||
}
|
||||
|
||||
$message = $argv[1];
|
||||
|
||||
$message = $argv[1];
|
||||
|
||||
$connection = new AMQPConnection(HOST, PORT, USER, PASS, VHOST);
|
||||
if (!isset($connection))
|
||||
{
|
||||
|
@ -31,10 +31,10 @@ if (!isset($connection))
|
|||
}
|
||||
|
||||
$channel = $connection->channel();
|
||||
|
||||
|
||||
// declare/create the queue
|
||||
$channel->queue_declare($queue, false, true, false, false);
|
||||
|
||||
|
||||
// declare/create the exchange as a topic exchange.
|
||||
$channel->exchange_declare($exchange, $exchangeType, false, true, false);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue