<?php
/**
 * Created by PhpStorm.
 * User: billy
 * Date: 25/04/2017
 * Time: 8:49 PM
 */

namespace App\Common\MQ;


class UnlockMessageHandler extends HttpConsumer
{

    /**
     * UnlockMessageHandler constructor.
     */
    public function __construct()
    {
        parent::__construct(config('constants.mq.url'),
            config('constants.mq.ak'),
            config('constants.mq.sk'),
            config('constants.mq.box_unlock.consumer'),
            config('constants.mq.box_unlock.topic'));
    }

    protected function handleMessage()
    {
        return true;
    }
}