Dequeueus a message as a TOraObject.
function Dequeue(Payload: TOraObject; MessageProperties: TQueueMessageProperties = nil; DequeueOptions: TDequeueOptions = nil): TMessageId; overload;
Use one of Dequeue method overloads to dequeue messages. Use overloads with string or TBytes payload for queues with the RAW payload type. For queues with the object payload type pass TOraObject instance with appropriate object type to Dequeue method. If DequeueOptions parameter was not specified, the TOraQueue.DequeueOptions property of TOraQueue component will be used. MessageProperties parameter will be filled with the properties of the dequeued message.
In Direct mode only queues with RAW payload are supported.