Is it possible to send azure queue messages to an endpoint url?
Storage queues provide a uniform and consistent programming model across queues, tables, and BLOBs – both for developers and for operations teams. Service Bus queues provide support for local transactions in the context of a single queue.
You could add a simple webjob with a QueueTrigger and call your endpoint from that.
public static void ProcessQueueMessage([QueueTrigger("queue")] string message,
TextWriter log)
{
//call your endpoint and send "message" here
}
Is it possible by azure queue to send messages on specific endpoint url?
To answer your question, No, an Azure Queue can't send message to a specific endpoint URL. An Azure Queue is simply a message store. You can send messages to a queue and it will reliably store the messages till the time they expire or you delete them.
However there are many ways by which you can get the message sent to an endpoint URL. As mentioned by @atika in his answer and @Aravind in his comments, you can use WebJobs or Functions. Essentially the idea is that there's someone (a WebJob or a Function) that is listening on the queue by constantly polling the queue and once it finds a message, it can send the message to an endpoint specified by you. Do keep in mind that WebJobs or Functions need to constantly poll the queue, fetch the message and take some action on that message based on how you code for it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With