AMQP
PHP Manual

The AMQPExchange class

简介

Represents an AMQP exchange.

类摘要

AMQPExchange {
/* Methods */
public bool bind ( string $queue_name , string $routing_key )
__construct ( AMQPConnection $connection [, string $exchange_name = "" ] )
public bool declare ([ string $exchange_name = "" [, string $exchange_type = AMQP_EX_TYPE_DIRECT [, int $flags = 0 ]]] )
public bool delete ([ string $exchange_name = NULL [, int $params = 0 ]] )
public bool publish ( string $message , string $routing_key [, int $params = 0 [, array $attributes ]] )
}

Table of Contents


AMQP
PHP Manual