From Azure Service Bus

From Azure Service Bus

A workflow in InterformNG2 can be initiated by a message from Azure Service Bus with this input type:



The parameters are:


  1. Fully qualified namespace (host name)
    Enter the host name of the Azure Service Bus to read from. This is a domain name in the format <namespace>.servicebus.windows.net and can be found on the Azure Portal.
  2. Source type
    Specify either queue or topic depending on whether the messages come from a queue or a topic.
  3. Source name
    Specify the name of the queue/topic to listen to messages from.
  4. Input type
    The file type of the input, that is received from the Azure Service Bus.
  5. Subscription name (for topic)
    When reading from a topic, enter a subscription name in "
    Subscription name (for topic)". When reading from a queue, this field can be left empty.
  6. Dead letter queue
    If you want to read messages from the dead-letter queue, check the checkbox "Dead letter queue". When this is not checked, messages will be read from the normal queue.
Notes
Note that the queue/topic to read from, as well as the subscription, must be created on the Azure Portal. InterformNG2 will not create these entities, but will display a validation error if they do not exist.

Notes
If the workflow throws an error while processing a message from the service bus, then an abort status will be returned to the message bus. In this case, the message bus will attempt to re-deliver the message for as many times as the "Max delivery count" configured on the subscription. If the workflow fails on every delivery attempt of the message, then it will be moved to the dead-letter queue.

Notes
Note that while the workflow is processing a message, the message will be locked. Make sure that the "Message lock duration" configured on the queue/subscription is longer than the execution time of the workflow, otherwise the same message may get processed multiple times. The default lock time is 1 minute