AMQPEnvelope
PHP 手册

AMQPEnvelope::isRedelivery

(No version information available, might only be in SVN)

AMQPEnvelope::isRedeliveryWhether this is a redelivery of the message

说明

public bool AMQPEnvelope::isRedelivery ( void )

Whether this is a redelivery of a message. If this message has been delivered and AMQPEnvelope::nack() was called, the message will be put back on the queue to be redelivered, at which point the message will always return TRUE when this method is called.

参数

此函数没有参数。

返回值

TRUE if this is a redelivery, FALSE otherwise.


AMQPEnvelope
PHP 手册