How to run Azure Function App on time intervel and pick all the messages from service bus

Ravi Kumar Karlapudi 6 Reputation points
2021-07-08T12:24:28.277+00:00

Hi All,

I have a requirement to pull the messages from service bus topic at a time interval of 15 mins and prepare a file (by applying transformations) will all the messages and push the file to FTP server.

What is the best way to achieve the above functionality.

Thanks in Advance.

Regards,
Ravi.

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

1 answer

Sort by: Most helpful
  1. Pierre-Luc Giguere 1,076 Reputation points
    2021-07-08T15:28:44.993+00:00

    Hi,

    This article explains how to work with timer triggers in Azure Functions. A timer trigger lets you run a function on a schedule.

    https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-timer?tabs=csharp

    This quickstart shows how to send messages to and receive messages from a Service Bus queue using the Azure.Messaging.ServiceBus .NET library.

    https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-dotnet-get-started-with-queues

    See left panel for additional languages.

    0 comments No comments

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.