IBM MQ
FastStream IBM MQ support is implemented on top of the ibmmq client.
For local development or source installs, see IBM MQ Client SDK for native client setup and the cmqc.h build error. For real broker tests, see Connected IBM MQ testing. If you are moving from the unmerged in-tree implementation, see Migration from faststream.mq.
Known problems
See Troubleshooting for current known dependency issues, including the upstream ibmmq OpenTelemetry message-handle crash and workaround.
What IBM MQ support covers
- queue-based publish and subscribe
- blocking request/reply using temporary reply queues
- manual acknowledgement via MQ transaction control
- FastAPI integration, AsyncAPI generation, Prometheus, and OpenTelemetry middleware
Basic connection model
IBM MQ support in FastStream is queue-first.
from faststream import FastStream
from faststream_mq import MQBroker
broker = MQBroker(
queue_manager="QM1",
conn_name="localhost(1414)",
username="app",
password="password",
)
app = FastStream(broker)
Notes
- queues must already exist in normal runtime usage
- TLS/client certificate support is planned separately and is not part of the current IBM MQ integration