AMQPConnection::isConnected
AMQPExchange::bind
AMQP
PHP Manual
The AMQPExchange class
Introduction
Represents an AMQP exchange.
Class synopsis
AMQPExchange
{
/* Methods */
public
void
bind
(
string
$queue_name
,
string
$routing_key
)
__construct
(
AMQPConnection
$connection
[,
string
$exchange_name
= ""
] )
public
void
declare
([
string
$exchange_name
= ""
[,
string
$exchange_type
=
AMQP_EX_TYPE_DIRECT
[,
string
$flags
= NULL
]]] )
public
void
delete
([
string
$exchange_name
= NULL
] )
public
void
publish
(
string
$message
,
string
$routing_key
)
}
Table of Contents
AMQPExchange::bind
— The bind purpose
AMQPExchange::__construct
— Create an instance of AMQPExchange
AMQPExchange::declare
— Declare a new exchange on the broker.
AMQPExchange::delete
— Delete the exchange from the broker.
AMQPExchange::publish
— Publish a message to an exchange.
AMQPConnection::isConnected
AMQPExchange::bind
AMQP
PHP Manual