We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a13d284 commit 8c7ad3dCopy full SHA for 8c7ad3d
src/message-bus/amqp-message.bus.ts
@@ -12,6 +12,7 @@ export class AmqpMessageBus implements IMessageBus {
12
constructor(private readonly amqpChannel: AmqpChannel) {}
13
14
async dispatch(message: RoutingMessage): Promise<object | void> {
15
+ await this.amqpChannel.init();
16
if (
17
message.messageOptions !== undefined &&
18
!(message.messageOptions instanceof AmqpMessageOptions)
0 commit comments