Scholar Repository
Home>Manual>The AMQPExchange class

The AMQPExchange class


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


Home>Manual>The AMQPExchange class