IMPRESS dotted_line CONTACT dotted_line search dotted_line Kontakt dotted_line sitemap dotted_line print
96 PHP-Resource users online

Switch to another languags Deutsch aktuelle Sprache Englisch

PHP Manual

Predefined Constants

The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.

AMQP_NOPARAM (integer)
Passing in this constant as a flag will forcefully disable all other flags. Use this if you want to temporarily disable the amqp.auto_ack ini setting.
AMQP_DURABLE (integer)
Durable exchanges and queues will survive a broker restart, complete with all of their data.
AMQP_PASSIVE (integer)
Passive exchanges are queues will not be redeclared, but the broker will throw an error if the exchange or queue does not exist.
Valid for queues only, this flag indicates that only one client can be listening to and consuming from this queue.
For exchanges, the auto delete flag indicates that the exchange will be deleted as soon as no more queues are bound to it. If no queues were ever bound the exchange, the exchange will never be deleted. For queues, the auto delete flag indicates that the queue will be deleted as soon as there are no more listeners subscribed to it. If no subscription has ever been active, the queue will never be deleted. Note: Exclusive queues will always be automatically deleted with the client disconnects.
Clients are not allowed to make specific queue bindings to exchanges defined with this flag.
AMQP_NOLOCAL (integer)
When passed to the consume method for a clustered environment, do not consume from the local node.
AMQP_AUTOACK (integer)
When passed to the AMQPQueue::get() and AMQPQueue::get() methods as a flag, the messages will be immediately marked as acknowledged by the server upon delivery.
AMQP_IFEMPTY (integer)
Passed on queue creation, this flag indicates that the queue should be deleted if it becomes empty.
Passed on queue or exchange creation, this flag indicates that the queue or exchange should be deleted when no clients are connected to the given queue or exchange.
When publishing a message, the message must be routed to a valid queue. If it is not, an error will be returned.
When publishing a message, mark this message for immediate processing by the broker. (High priority message.)
If set during a call to AMQPQueue::ack(), the delivery tag is treated as "up to and including", so that multiple messages can be acknowledged with a single method. If set to zero, the delivery tag refers to a single message. If the AMQP_MULTIPLE flag is set, and the delivery tag is zero, this indicates acknowledgement of all outstanding messages.
AMQP_NOWAIT (integer)
If set during a call to AMQPExchange::bind(), the server will not respond to the method. The client should not wait for a reply method. If the server could not complete the method it will raise a channel or connection exception.
A direct exchange type.
A fanout exchange type.
A topic exchange type.
A header exchange type.

Comments to the PHP manual
Write new comment


New Tutorial entries

Migration einer PHP 5 App auf PHP 7

Dieses PHP 7 Tutorial zeigt dir, wie du dein PHP5 Script auf PHP7 umstellst.

Berni | Category: PHP
PHP 7 Virtual Machine

Dieser Artikel zielt darauf ab, einen Überblick über die Zend Virtual Machine, wie es in PHP 7 gefunden wird.

Berni | Category: PHP
plotting masters - a professional guide - Teil II

Grafische Interpolation und Bestapproximation von numerischen Wertepaaren: Wir wollen Punkte auf einer Zeichenebene über verschiedene Verfahren miteinander verbinden.

EVAMasters | Category: PHP