9 Protocols & Drop-in Migration
AetherMQ implements nine wire protocols directly over a unified Shared-Nothing Rust kernel — enabling zero-code-change migration and zero-copy cross-protocol routing.
Single-Port Auto-Sniffing & Standard Ports
| Protocol | Port | Drop-In Clients | Cross-Protocol Bridge |
|---|---|---|---|
| AMQP 0-9-1 | :5672 / :5671 TLS | Spring AMQP, Pika, Celery, amqp091-go, lapin | Native Exchange → Queue |
| AMQP 1.0 / JMS | :5672 / :5671 TLS | Apache Qpid JMS 2.x/3.x, Spring JMS, fe2o3-amqp | Anycast Queue & Multicast Topic |
| MQTT 3.1.1 / 5.0 | :1883 / :5672 / GET /mqtt | Paho, MQTT.js, Rumqttc, Embedded RTOS | Zero-copy amq.topic → Queue |
| IBM MQ FAP & REST | :1414 / :9443 | Legacy C/COBOL/Java MQI & MQ REST v1–v3 | Preserves MQMD, RFH2, CCSID |
| Kafka Wire | :9092 | kafka-clients, librdkafka, Flink, Franz-go | Maps to KAFKA.<topic> queue |
| OpenWire & STOMP | :61616 / :5672 / GET /ws | ActiveMQ 5.x JARs, Browser STOMP WebSocket | Direct unified Queue binding |
Connecting RabbitMQ Clients (AMQP 0-9-1)
Simply point your existing Spring AMQP, Pika, or amqp091-go connection URI to AetherMQ port 5672. Publisher Confirms, Basic.Qos, Exchanges (Direct/Fanout/Topic/Headers), DLX, TTL, and 0–9 Priorities work out of the box.
Python (Pika) · Zero-Change RabbitMQ Client
import pika
conn = pika.BlockingConnection(pika.URLParameters("amqp://admin:ChangeMe!2026@127.0.0.1:5672/"))
ch = conn.channel()
ch.confirm_delivery()
ch.queue_declare(queue="PAY.SETTLEMENT", durable=True)
ch.basic_publish(exchange="", routing_key="PAY.SETTLEMENT", body=b'{"tx":"TX-9001"}')
conn.close() Connecting MQTT 5.0 & WebSocket IoT Devices
AetherMQ includes a #![forbid(unsafe_code)] native MQTT 3.1 / 3.1.1 / 5.0 engine with O(depth) Segment Topic Trie, $share/{group}/{filter} load balancing, atomic 0x8E session takeover, LWT, Retained Store, and RFC 6455 binary WebSocket at GET /mqtt.
JavaScript (MQTT.js) · Browser WebSocket or TCP
import mqtt from 'mqtt';
const client = mqtt.connect('ws://127.0.0.1:9443/mqtt', {
protocolVersion: 5,
clientId: 'sensor-gateway-01',
clean: false,
properties: { sessionExpiryInterval: 3600 },
});
client.on('connect', () => {
client.subscribe('$share/ingestors/iot/telemetry/#', { qos: 1 });
client.publish('iot/telemetry/temp', JSON.stringify({ c: 24.8 }), { qos: 1, retain: true });
});