#RabbitMq 延迟队列


###新版本使用示例
```php

$mq = new DelayRabbitMq();

$queue = 'delay_list';
$minute = 2; //延是1分钟处理
$message = json_encode(['test' => 'rabbitmq produce', 'reason' => 'send message']);

$mq->produce($queue, $message, $minute);



$mq->work =  function ($message) {

    $message = json_decode($message,true);
    var_dump($message);
    return true; //应答

};
$mq->process($queue);


```