AMQPEnvelope::isRedelivery PHP Méthode

isRedelivery() public méthode

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.
public isRedelivery ( ) : boolean
Résultat boolean TRUE if this is a redelivery, FALSE otherwise.
    public function isRedelivery()
    {
    }

Usage Example

Exemple #1
0
 public function getEnvelope()
 {
     if (!$this->envelope) {
         $class = $this->envelope_skeleton;
         $this->envelope = new $class($this->original->getExchangeName(), $this->original->getRoutingKey(), $this->original->getDeliveryTag(), $this->original->isRedelivery());
     }
     return $this->envelope;
 }
All Usage Examples Of AMQPEnvelope::isRedelivery