ODAC

TOraQueue.EnqueueArray Method

Enqueues an array of messages.

Class

TOraQueue

Syntax

function EnqueueArray(const MessageArray: array of TQueueMessage; EnqueueOptions: TEnqueueOptions = nil): TMessageIds;

Parameters
MessageArray
Holds an array of messages to enqueue.
EnqueueOptions
Holds the options for enqueueing messages.
Return Value
an array of message IDs.

Remarks

Use the EnqueueArray method to enqueue an array of messages. If the EnqueueOptions parameter was not specified, the EnqueueOptions property of TOraQueue will be used. DequeuedSize returns the number of dequeued messages.

© 1997-2022 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback