ODAC

TOraQueue.OnMessage Event

Occurs when new messages are enqueued.

Class

TOraQueue

Syntax

property OnMessage: TQueueMessageEvent;

Remarks

Use OnMessage event handler to get notifications when new messages are enqueued. Set the AsyncNotification property to True to get OnMessage events.

To get the payload for the message assign MessageId value passed to the event handler to the TDequeueOptions.MessageId property in DequeueOptions and then call TOraQueue.Dequeue.

See Also

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