A companion to the Alexa Enqueuer Azure Function.
This reads an Azure Service Bus queue and performs custom actions when messages arrive. The aim was to be able to control my devices through Alexa.
To add custom behavior to your messages you need to implement the MessageBehavior()
method from ICommandBehavior
in a subclass and inject it into the service. You can see an example in the Code/Example
folder.
The function uses some settings that must be configured for your use case:
QueueName
: The name of your Azure Service Bus queue.ServiceBusConnection
: The connection string to your Azure Service Bus namespace.
These setting names are defined as constants within VariableName
.
Look at https://github.com/Dethon/AlexaEnqueuer for the companion enqueuer program.