Bitrix API

GroupHash implements Consumer

Table of Contents

Interfaces

Consumer

Methods

__construct()  : mixed
acknowledge()  : void
Tell the MQ broker that the message was processed successfully.
getQueue()  : Queue
Gets the Queue associated with this queue receiver.
receive()  : Message|null
Receives the next message that arrives within the specified timeout interval.
reject()  : void
Tell the MQ broker that the message was rejected.

Methods

acknowledge()

Tell the MQ broker that the message was processed successfully.

public acknowledge(Message $message) : void
Parameters
$message : Message

getQueue()

Gets the Queue associated with this queue receiver.

public getQueue() : Queue
Return values
Queue

receive()

Receives the next message that arrives within the specified timeout interval.

public receive() : Message|null
Tags
throws
BaseException
throws
ArgumentException
throws
SystemException
Return values
Message|null

reject()

Tell the MQ broker that the message was rejected.

public reject(Message $message[, bool $requeue = false ]) : void
Parameters
$message : Message
$requeue : bool = false

        
On this page

Search results