Skip to content

A console app that reads from an Azure Service Bus queue

License

Notifications You must be signed in to change notification settings

Dethon/AlexaCommandReader

Repository files navigation

Alexa Command Reader

A companion to the Alexa Enqueuer Azure Function.

Objective

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.

Settings

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.

Related Repositories

Look at https://github.com/Dethon/AlexaEnqueuer for the companion enqueuer program.

About

A console app that reads from an Azure Service Bus queue

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages