\Ceo\Core\QueueHandlersMessageHandler

Handles queue actions for mail messages

They can also define a STATIC method called 'tearDown' that will be called after all messages have been processed to handle grouped items.

Keep in mind that all queue objects should provide an SRN as the Queue handlers are run in the global scope, not client scope.

Summary

Methods
Properties
Constants
__construct()
setUp()
tearDown()
handle()
finish()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
handleQueuedMessages()
$originalService
$originalClient
$queueable
N/A

Properties

$originalService

$originalService : 

Type

$originalClient

$originalClient : 

Type

$queueable

$queueable : 

Type

Methods

__construct()

__construct() 

setUp()

setUp() 

tearDown()

tearDown() 

handle()

handle(  $data) 

Generates messages for both queueable and non-queable

Parameters

$data

finish()

finish() 

Finish is called after everything else has run. This checks the queued messages per user and processes all pending messages

handleQueuedMessages()

handleQueuedMessages(  $user,   $queuedMessages) 

Handles messages on a per user basis

Parameters

$user
$queuedMessages