Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Python WebJob

$
0
0
I'm trying to create a webjob in python that listens to a queue. I have done the same in c# with the following code,

  

    public static void ProcessQueueMessage([QueueTrigger("webjobsqueue")] string inputText,
                                            [Blob("containername/blobname")]TextWriter writer)
            {
                writer.WriteLine(inputText);
            }

I want the equivalent in python that listens to a queue and trigger the python file.

Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>