AMQPExchange::setType
AMQPQueue::ack
AMQP
PHP Manual

# The AMQPQueue class

(PECL amqp >= Unknown)

## Einführung

Represents an AMQP queue.

## Klassenbeschreibung

AMQPQueue {
/* Methoden */
public bool ack ( int `$delivery_tag` [, int `$flags` = `AMQP_NOPARAM` ] )
public bool bind ( string `$exchange_name` , string `$routing_key` )
public bool cancel ([ string `$consumer_tag` = "" ] )
public __construct ( AMQPChannel `$amqp_channel` )
public void consume ( callable `$callback` [, int `$flags` = `AMQP_NOPARAM` ] )
public int declare ( void )
publicbool delete ( void )
public mixed get ([ int `$flags` = ini_get("amqp.auto_ack") ] )
public mixed getArgument ( string `$key` )
public array getArguments ( void )
public int getFlags ( void )
public string getName ( void )
public void nack ( string `$delivery_tag` [, string `$flags` = `AMQP_NOPARAM` ] )
public bool purge ( void )
public void setArgument ( string `$key` , mixed `$value` )
public void setArguments ( array `$arguments` )
public void setFlags ( int `$flags` )
public void setName ( string `$queue_name` )
public bool unbind ( string `$exchange_name` , string `$routing_key` )
}

## Inhaltsverzeichnis

- AMQPQueue::ack — Acknowledge the receipt of a message
- AMQPQueue::bind — Bind the given queue to a routing key on an exchange.
- AMQPQueue::cancel — Cancel a queue binding.
- AMQPQueue::__construct — Create an instance of an AMQPQueue object
- AMQPQueue::consume — Consume messages from a queue
- AMQPQueue::declare — Declare a new queue
- AMQPQueue::delete — Delete a queue and its contents.
- AMQPQueue::get — Retrieve the next message from the queue.
- AMQPQueue::getArgument — Get the argument associated with the given key
- AMQPQueue::getArguments — Get all arguments set on the given queue
- AMQPQueue::getFlags — Get the flag bitmask
- AMQPQueue::getName — Get the configured name
- AMQPQueue::nack — Mark a message as explicitly not acknowledged.
- AMQPQueue::purge — Purge the contents of a queue
- AMQPQueue::setArgument — Set the value for the given key
- AMQPQueue::setArguments — Set all arguments on the queue
- AMQPQueue::setFlags — Set the queue flags
- AMQPQueue::setName — Set the queue name
- AMQPQueue::unbind — Unbind the queue from a routing key.

AMQPExchange::setType
AMQPQueue::ack
AMQP
PHP Manual