MqServiceError
in package
If a consumer returns an instance of this class, the MqService will NOT acknowledge the message and requeue it.
Table of Contents
Properties
- $requeue : bool
Methods
- __construct() : mixed
- Create a new instance of the MqServiceError class
- getRequeue() : bool
- Get whether to requeue the message or not.
Properties
$requeue read-only
private
bool
$requeue
= true
Methods
__construct()
Create a new instance of the MqServiceError class
public
__construct([bool $requeue = true ]) : mixed
Parameters
- $requeue : bool = true
-
whether to requeue the message or not
getRequeue()
Get whether to requeue the message or not.
public
getRequeue() : bool
Return values
bool —whether to requeue the message or not