QuestionQ265

Develop integrations

You are building a Power Automate flow.

You create an Azure Service Bus listener application that receives requests from a third-party application.

When the flow calls the message queue, it must delete the message immediately when it is read.

You need to make sure the queue is cleared correctly.

Which method or class should be used?

  • A ReceiveMode
  • B BrokeredMessage
  • C EventHubReceiver
  • D EventHubSender
Explanation

Azure Service Bus ReceiveMode can be set to ReceiveAndDelete, which treats a message as settled and removes it from the queue as soon as it is delivered to the receiver. PeekLock would retain the message until it is explicitly completed.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!