跳到主要内容

ServiceBus

Overview

ServiceBus is an HTTP client to interact with HTTP servers (REST), offering HTTP client capabilities to components of the cloud to reach HTTP servers running at the edge.

The design is exactly similar to that of EventBus.

EventBus is used to communicate with applications running on edge via MQTT. Similarly, ServiceBus is used to communicate with applications running on edge via HTTP.

Working

  • Cloud sends a beehive message to Edge via CloudHub.
  • EdgeHub receives the messages and sends them to ServiceBus.
  • ServiceBus just makes the HTTP call and sends the response to the cloud via EdgeHub.

ServiceBus flowchart