none
Is there any way to use Azure Storage Queue as a WeHook listener?

    Question

  • Greetings,

    Is there any way to use Azure Storage Queue or as a WeHook listener?

    The idea is the the Azure Storage Queue receives the webhook HTTP post messages and hold them as messages until my web job take the messages and process them

    Of course, I know that I can build  an Azure App to receive the webhook posts, and add them the the queue. The question is if I can do the same without building any custom code.

    Thank you,


    Monday, March 20, 2017 1:43 AM

Answers

  • Hi amx2012,

    I believe what you might be looking for is Serverless web application architectures.

    https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-a-web-hook-or-api-function.

    https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-http-webhook

    I hope this points you the right direction.

    • Marked as answer by amx2012 Thursday, March 30, 2017 4:14 PM
    Wednesday, March 29, 2017 1:18 PM

All replies

  • Yes. Possible.

    One way is to use Azure Functions to trigger the Azure Storage Queue.

    If you want to do it yourself, build a web service that pushes your message to Azure Queue upon receiving a POST message from your webhook.

    Incoming request (POST) -> Web Service / Web hook sitting in your web service -> Push to Azure Queue

    You would however need to have a Polling / realtime server to be constantly pulling the Azure Queue as a service standalone.

    If you would want to maintain control still but have something similar, I highly recommend you to look at Azure Functions, if not Serverless with Azure Functions. It's very easy to implement, and it does the heavylifting for you.

    Tuesday, March 21, 2017 8:12 AM
  • Hi kennethamgj,

    What you are describing is to put another component (or custom code)  in front of the Queue. I know that as I mentioned in my question.

    I wanted to confirm if there is any builtin feature in Queue that can handle Webhooks without the help of any other components.

    Thank you,

    Thursday, March 23, 2017 12:38 PM
  • Hi amx2012,

    I believe what you might be looking for is Serverless web application architectures.

    https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-a-web-hook-or-api-function.

    https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-http-webhook

    I hope this points you the right direction.

    • Marked as answer by amx2012 Thursday, March 30, 2017 4:14 PM
    Wednesday, March 29, 2017 1:18 PM