Email processing using Service Bus

To show an example of integration with Service Bus, we need a system that generates asynchronous messages that can be dropped in a queue. Since we are working with text, we will use email as an example of such a system. In real-life scenarios, Service Bus messages are rarely text-based. Typical message examples would include a message with a description of a job submitted from one part of the system to another or messages with telemetry from IoT devices.

In this chapter, we will build a flow that will pick up email messages from an Office 365 Outlook account, drop them in a Service Bus Queue, and then pick them up for processing. (Note that Office 365 is simply used as an example).

To implement the flow, ...

Get Serverless computing in Azure with .NET now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.