Class yii\queue\amqp\Command

Inheritanceyii\queue\amqp\Command » yii\queue\cli\Command » yii\console\Controller
Deprecated since version since 2.0.2 and will be removed in 3.0. Consider using amqp_interop driver instead

Manages application amqp-queue.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$isolate boolean Isolate mode. yii\queue\cli\Command
$queue yii\queue\amqp\Queue yii\queue\amqp\Command
$verbose boolean Verbose mode of a job execute. yii\queue\cli\Command
$verboseConfig array Additional options to the verbose behavior. yii\queue\cli\Command

Property Details

$queue public property

Method Details

actionListen() public method

Listens amqp-queue and runs new jobs.

It can be used as daemon process.

public void actionListen ( )
isWorkerAction() protected method

protected boolean isWorkerAction ( $actionID )
$actionID string