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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.