MessageXDocumentation
SELF-HOSTED · OPEN SOURCE · DEVELOPER FIRST

Messaging infrastructure, made understandable.

Run your own message broker. Connect services over TCP. Explore how queues, exchanges, routing, persistence, and delivery work — with documentation grounded in the MessageX codebase.

TypeScript brokerPostgreSQL persistenceDocker deploymentNode.js SDK

MessageX runtime

A message, from publish to ACK

TCP · v1
01

Producer

Publish a JSON message

02

Exchange

Match bindings and routing key

03

Queue + PostgreSQL

Persist a message for each target queue

04

Consumer

Claim and process the delivery

05

ACK / NACK

Settle, retry, or dead-letter

Explore the full interactive flow in the architecture guide.

TCP protocol

Length-prefixed JSON frames over a persistent TCP connection.

Exchange routing

Direct, fanout, topic, and headers routing strategies.

Reliable delivery

Explicit ACK/NACK, retry limits, dead-letter routing, and recovery.

PostgreSQL storage

Persistent queues, exchanges, bindings, and message records.

DOCUMENTATION PATHS

Find the right starting point.

From first deployment to the internals of the broker, follow a guide built around real implementation details.