Project scaffolding toegevoegd
This commit is contained in:
8
Analyzer/__init__.py
Normal file
8
Analyzer/__init__.py
Normal file
@ -0,0 +1,8 @@
|
||||
import logging
|
||||
|
||||
import azure.functions as func
|
||||
|
||||
|
||||
def main(msg: func.ServiceBusMessage):
|
||||
logging.info('Python ServiceBus queue trigger processed message: %s',
|
||||
msg.get_body().decode('utf-8'))
|
||||
12
Analyzer/function.json
Normal file
12
Analyzer/function.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"scriptFile": "__init__.py",
|
||||
"bindings": [
|
||||
{
|
||||
"name": "msg",
|
||||
"type": "serviceBusTrigger",
|
||||
"direction": "in",
|
||||
"queueName": "tst",
|
||||
"connection": "AzureWebJobsServiceBus"
|
||||
}
|
||||
]
|
||||
}
|
||||
1
Analyzer/sample.dat
Normal file
1
Analyzer/sample.dat
Normal file
@ -0,0 +1 @@
|
||||
Service Bus Message
|
||||
Reference in New Issue
Block a user