OptionalurlAMQP connection URL, e.g. 'amqp://guest:guest@localhost:5672' or
'amqps://host'. Used by connect() when no connection is injected.
Defaults to 'amqp://localhost'.
OptionalconnectionA pre-built amqplib connection (the object returned by
amqp.connect(...)). When provided, connect() adopts it and does not
require('amqplib') — useful for sharing one connection across stores,
or for injecting a mock in tests.
Connection options for
RabbitMQStore.amqplibships no types the ORM depends on here, so its connection and channel are typed asany— the repo's tsconfig hasnoImplicitAny: false, the intended escape hatch for optional, untyped drivers.