AMQPChannel::startTransaction
AMQPExchange::bind
AMQP
PHP Manual

# The AMQPExchange class

(PECL amqp >= Unknown)

## Einführung

Represents an AMQP exchange.

## Klassenbeschreibung

AMQPExchange {
/* Methods */
public bool bind ( string `$destination_exchange_name` , string `$source_exchange_name` , string `$routing_key` )
public __construct ( AMQPChannel `$amqp_channel` )
public int declare ( void )
public bool delete ([ int `$flags` = `AMQP_NOPARAM` ] )
public mixed getArgument ( string `$key` )
public array getArguments ( void )
public int getFlags ( void )
public string getName ( void )
public string getType ( void )
public bool publish ( string `$message` , string `$routing_key` [, int `$flags` = `AMQP_NOPARAM` [, array `$attributes` = array() ]] )
public void setArgument ( string `$key` , mixed `$value` )
public void setArguments ( array `$arguments` )
public void setFlags ( int `$flags` )
public void setName ( string `$exchange_name` )
public string setType ( string `$exchange_type` )
}

## Inhaltsverzeichnis

- AMQPExchange::bind — Bind to another exchange
- 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::getArgument — Get the argument associated with the given key
- AMQPExchange::getArguments — Get all arguments set on the given exchange
- AMQPExchange::getFlags — Get the flag bitmask
- AMQPExchange::getName — Get the configured name
- AMQPExchange::getType — Get the configured type
- AMQPExchange::publish — Publish a message to an exchange.
- AMQPExchange::setArgument — Set the value for the given key
- AMQPExchange::setArguments — Set all arguments on the exchange
- AMQPExchange::setFlags — Set the flags on an exchange
- AMQPExchange::setName — Set the name of the exchange
- AMQPExchange::setType — Set the type of the exchange

AMQPChannel::startTransaction
AMQPExchange::bind
AMQP
PHP Manual