I have designed a Azure Queue Trigger function in Python with the following functionalities.
- When a message is added to Queue named Input , the function fires
- It processes the message added to the Input Queue and stores the result in Output Queue
Now my problem is this is working fine when I run locally . But after deploying the function app and then if I add a message to the Input Queue , the function is not firing .
Checked everything . Here is my function.json for reference .
I havent been able to locate anything relevant to this in documentation and not sure what I'm missing .
{
"scriptFile": "__init__.py",
"bindings": [
{
"name": "msg",
"type": "queueTrigger",
"direction": "in",
"queueName": "input-messages-queue",
"connection": "AzureWebJobsStorage"
},
{
"type": "queue",
"direction": "out",
"name": "outputmessage",
"queueName": "output-responses-queue",
"connection": "AzureWebJobsStorage"
}
]
}