Abstract
In IoT scenarios, numerous things and services are connected and coordinated via distributed events. Hence, a service bus needs to be established to streamline these events to enable the efficient and stable coordination of IoT services as an integrated service system. However, without an awareness of the coordination requirements of the application, the publish/subscribe-based service bus will not be optimally utilized to deliver real-time and coherent sensor events, and at the same time, service concurrency and scalability cannot be maximally realized. In this chapter, a service-oriented publish/subscribe middleware is proposed as a base for the construction of a distributed, ultra-scale, and elastic service bus for IoT applications. In order to establish this publish/subscribe service bus, the service coordination logic is then extracted from an event-driven business process, and the coordination logic is translated into the event matching and routing functions of the publish/subscribe middleware.