Class RemoveUniqueJobIdFromCacheExtension
Namespace: Cake\Queue\Consumption
Property Summary
-
$cache protected
string
Cache engine name.
Method Summary
-
__construct() public
-
onResult() public
Executed when a message is processed by a processor or a result was set in onMessageReceived extension method. BEFORE the message status was sent to the broker The result could be changed at this point.
Method Detail
__construct() ¶ public
__construct(string $cache): void
Parameters
-
string
$cache Cache engine name.
Returns
void
onResult() ¶ public
onResult(MessageResult $context): void
Executed when a message is processed by a processor or a result was set in onMessageReceived extension method. BEFORE the message status was sent to the broker The result could be changed at this point.
Parameters
-
MessageResult
$context The result of the message after it was processed.
Returns
void