Queue.php
/**
     * Rejects a job and put's it back on the queue.
     *
     * This will cause the message to be taken back from the queue and make it to process it again.
     *
     * @param \Callable $callback The method that should be called for every job
     *
     * @return \Simgroep\ConcurrentSpiderBundle\Queue
     */
Rejects a job and put's it back on the queue.
This will cause the message to be taken back from the queue and make it to process it again.

@param \Callable $callback The method that should be called for every job


Rejects a job and put ' s it back on the queue . This will cause the message to be taken back from the queue and make it to process it again . @param \ Callable $callback The method that should be called for every job
public function rejectMessageAndRequeue(AMQPMessage $message)
    {
        $message->delivery_info['channel']->basic_reject($message->delivery_info['delivery_tag'], true);
        return $this;
    }
public function rejectMessageAndRequeue ( AMQPMessage $ message ) { $ message -> delivery_info [ 'channel' ] -> basic_reject ( $ message -> delivery_info [ 'delivery_tag' ] , true ) ; return $ this ; }
Rejects a job and put's it back on the queue.
Rejects a job and put ' s it back on the queue .