DominionEnterprises\Mongo\QueueInterface::ackSend PHP Method

ackSend() public method

Atomically acknowledge and send a message to the queue.
public ackSend ( array $message, array $payload, integer $earliestGet, float $priority, boolean $newTimestamp = true ) : void
$message array the message to ack received from get()
$payload array the data to store in the message to send. Data is handled same way as \MongoDB\Collection::insertOne()
$earliestGet integer earliest unix timestamp the message can be retreived.
$priority float priority for order out of get(). 0 is higher priority than 1
$newTimestamp boolean true to give the payload a new timestamp or false to use given message timestamp
return void
    public function ackSend(array $message, array $payload, $earliestGet = 0, $priority = 0.0, $newTimestamp = true);