The Subscribe
UDR is sent to the AMQP agent to initiate a subscription or to check if a queue exists. If the subscription operation is successful, the agent will route a SubscriptionOk
UDR to the workflow. If the operation fails the agent will send an Error
UDR. The following fields are included in the Subscribe
UDR:
Field | Description |
---|---|
declareQueue (boolean)
| When this field is set to true, the queue will be created, if it does not already exist. When this field is set to If the operation is successful, the |
passive (boolean) | Use this field to check if a queue exists without subscribing. If the operation is successful, the isSubscribed field in the corresponding SubscriptionOk UDR will be set to false . |
queueName (string) | This field contains the name of the queue in string format. |
tagName (string) | This field contains the tag name in string format. |