MessageQueueImplementation::receive
Receive one or more messages from a queue.
Notes: - the implementor class is responsible for ensuring that message retrieval is atomic, and specifically that if the MessageQueue::consume() is called simultaneously by multiple processes, each message is only processed once.
Signature
Parameters
$queue
— object
$interfaceConfig
— object- The interface configuration for the queue.
$options
— object
Returns
- DataObjectSet
- Returns a set of MessageFrame objects. The headers are MQ implementation
dependent. The body is still in its encoded form.