> For the complete documentation index, see [llms.txt](https://docs-launchpad.energyweb.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-launchpad.energyweb.org/energy-solutions/digital-spine-by-energy-web/component-guides/ddhub-message-broker.md).

# DDHub Message Broker

## Overview

The Message Broker is a server that provides message routing, persistence, and delivery for a seamless data exchange between an organization and its participants via their respective Client Gateways.

### Architecture (placeholder)

<figure><img src="/files/5my5OqcFFLdIYqOMvvhq" alt=""><figcaption></figcaption></figure>

### Components

#### DID Auth Proxy

The DID auth proxy provides an authorization server and an `nginx` instance to allow applications to integrate the Energy Web DID solution into any RESTful API service without changing its source code.

#### Master Data and Message Metadata Storage

#### Large File Storage

#### NATS JetStream

JetStream is a built-in persistence engine for NATS which enables messages to be stored and replayed at a later time. Messages can be captured and replayed to consumers as needed.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs-launchpad.energyweb.org/energy-solutions/digital-spine-by-energy-web/component-guides/ddhub-message-broker.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
