dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleQueueAdmin Class / AddSubscriber Method / AddSubscriber(OracleQueueAgent,String,String,Boolean,OracleQueueDeliveryMode) Method
Agent on whose behalf the subscription is being defined.
A conditional expression based on the message properties, the message data properties and PL/SQL functions. A rule is specified as a Boolean expression using syntax similar to the WHERE clause of a SQL query.
Specifies a transformation that will be applied when this subscriber dequeues the message. The source type of the transformation must match the type of the queue. If the subscriber is remote, the transformation is applied before propagation to the remote queue.
If TRUE, propagation is from queue to queue. Supported only in Oracle 10.2 and greater.
Delivery mode of the messages the subscriber is interested in. Supported only in Oracle 10.2 and higher.

In This Topic
    AddSubscriber(OracleQueueAgent,String,String,Boolean,OracleQueueDeliveryMode) Method
    In This Topic
    Adds a subscriber to the queue.
    Syntax
    'Declaration
     
    Public Overloads Sub AddSubscriber( _
       ByVal subscriber As OracleQueueAgent, _
       ByVal rule As String, _
       ByVal transformation As String, _
       ByVal queueToQueue As Boolean, _
       ByVal deliveryMode As OracleQueueDeliveryMode _
    ) 
    public void AddSubscriber( 
       OracleQueueAgent subscriber,
       string rule,
       string transformation,
       bool queueToQueue,
       OracleQueueDeliveryMode deliveryMode
    )

    Parameters

    subscriber
    Agent on whose behalf the subscription is being defined.
    rule
    A conditional expression based on the message properties, the message data properties and PL/SQL functions. A rule is specified as a Boolean expression using syntax similar to the WHERE clause of a SQL query.
    transformation
    Specifies a transformation that will be applied when this subscriber dequeues the message. The source type of the transformation must match the type of the queue. If the subscriber is remote, the transformation is applied before propagation to the remote queue.
    queueToQueue
    If TRUE, propagation is from queue to queue. Supported only in Oracle 10.2 and greater.
    deliveryMode
    Delivery mode of the messages the subscriber is interested in. Supported only in Oracle 10.2 and higher.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also