Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.


Scroll ignore
scroll-viewportfalse
scroll-pdftrue
scroll-officefalse
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmlfalse


Next: