Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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 false and the queue does not exist, the subscription will fail.

If the operation is successful, the isSubscribed field in the corresponding SubscriptionOk UDR will be set to true.

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.
  • No labels