Source of file ConsumerParameters.php

Size: 2,337 Bytes - Last Modified: 2021-01-12T22:04:13+00:00

C:/Users/MAKS/Code/_PROJECTS/amqp-agent/src/Config/ConsumerParameters.php

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
<?php

/**
 * @author Marwan Al-Soltany <MarwanAlsoltany@gmail.com>
 * @copyright Marwan Al-Soltany 2020
 * For the full copyright and license information, please view
 * the LICENSE file that was distributed with this source code.
 */

declare(strict_types=1);

namespace MAKS\AmqpAgent\Config;

use MAKS\AmqpAgent\Config\AbstractParameters;
use MAKS\AmqpAgent\Config\AmqpAgentParameters;

/**
 * A subset of AmqpAgentParameters class for the Consumer class.
 * @since 1.2.0
 */
final class ConsumerParameters extends AbstractParameters
{
    /**
     * The default quality of service options that the worker should use when no overrides are provided.
     * @var array
     */
    public const QOS_OPTIONS = AmqpAgentParameters::QOS_OPTIONS;

    /**
     * The default wait options that the worker should use when no overrides are provided.
     * @var array
     */
    public const WAIT_OPTIONS = AmqpAgentParameters::WAIT_OPTIONS;

    /**
     * The default consume options that the worker should use when no overrides are provided.
     * @var array
     */
    public const CONSUME_OPTIONS = AmqpAgentParameters::CONSUME_OPTIONS;

    /**
     * The default acknowledgment options that the worker should use when no overrides are provided.
     * @var array
     */
    public const ACK_OPTIONS = AmqpAgentParameters::ACK_OPTIONS;

    /**
     * The default unacknowledgment options that the worker should use when no overrides are provided.
     * @var array
     */
    public const NACK_OPTIONS = AmqpAgentParameters::NACK_OPTIONS;

    /**
     * The default get options that the worker should use when no overrides are provided.
     * @var array
     */
    public const GET_OPTIONS = AmqpAgentParameters::GET_OPTIONS;

    /**
     * The default cancel options that the worker should use when no overrides are provided.
     * @var array
     */
    public const CANCEL_OPTIONS = AmqpAgentParameters::CANCEL_OPTIONS;

    /**
     * The default recover options that the worker should use when no overrides are provided.
     * @var array
     */
    public const RECOVER_OPTIONS = AmqpAgentParameters::RECOVER_OPTIONS;

    /**
     * The default reject options that the worker should use when no overrides are provided.
     * @var array
     */
    public const REJECT_OPTIONS = AmqpAgentParameters::REJECT_OPTIONS;
}