Can a ServiceBus queue triggered function app have http endpoints as well?

Sukhman Singh 0 Reputation points
2024-08-26T09:35:18.66+00:00

Hey there!
I have a ServiceBus queue triggered function App which after processing the message body through a business logic, completes the message as well to remove it from the queue.
Now, I want to test the performance of the underlying business service.
One thing - I could fill up the queue programmatically and have no control further down - Won't be testing actually the service - since my FA consumes / processes one message at a time
One other thing is the question I want to ask - Can my FA have http endpoints as well along with Queue Triggered?

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
613 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,890 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Deepanshukatara-6769 8,940 Reputation points
    2024-08-26T09:43:00.3233333+00:00

    Hello Sukhman ,

    Yes, a Service Bus queue triggered function app can have HTTP endpoints as well. In fact, the tutorial "Integrate Azure Functions with an Azure virtual network by using private endpoints" shows how to deploy a function app that uses both the Service Bus and HTTP triggers.

    Please let me know if further questions

    Kindly accept answers if it helps

    Thank,

    Deepanshu


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.