Hi @Fabrício Fortaleza,
Thank you for asking this question on the Q&A Platform.
We hope this article can be of help to you:
Best regards,
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm creating an Azure function that should read all messages in the storage queue when they're received. If any message contains a specific parameter that I'll define, the function should send the content of that message to an email. However, when running the default code generated upon creating a new function, it accessed my storage queue (I've already set up the connection) and deleted all the messages that were in the queue. What's happening? Here's the code used.
import azure.functions as func
import logging
app = func.FunctionApp()
@app.queue_trigger(arg_name="azqueue", queue_name="baas-webhooks", connection="AzureWebJobsStorage")
def NeroWebhooksBaas(azqueue: func.QueueMessage):
logging.info('Python Queue trigger processed a message: %s',
azqueue.get_body().decode('utf-8'))
Hi @Fabrício Fortaleza,
Thank you for asking this question on the Q&A Platform.
We hope this article can be of help to you:
Best regards,