ODAC

TOraQueueAdmin.AddSubscriber Method

Adds a subscriber to the queue.

Class

TOraQueueAdmin

Syntax

procedure AddSubscriber(Subscriber: TQueueAgent; const Rule: string = ''; const Transformation: string = ''; QueueToQueue: boolean = False; DeliveryMode: TQueueDeliveryMode = qdmPersistent);

Parameters
Subscriber
Holds an agent on whose behalf the subscription is being defined.
Rule
Holds a conditional expression based on the message properties, the message data properties, and PL/SQL functions.
Transformation
Holds the transformation that will be applied when this subscriber dequeues the message.
QueueToQueue
Is True, if propagation is from queue-to-queue.
DeliveryMode
Holds the delivery mode of the messages the subscriber is interested in. See TDequeueOptions.DeliveryMode for more information.

Remarks

Call the AddSubscriber method to add a subscriber to the queue.

See Also

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