I'm encountering an issue with the @golevelup/nestjs-rabbitmq package where multiple channels are being created despite explicitly configuring a single channel to ensure ordered processing of events. This behavior is contrary to my expectation based on the configuration provided, where a single channel named 'user-service-channel-1' is defined to preserve the order of event processing.
Configuration Details
I have declared a channel 'user-service-channel-1' in the RabbitMQModule.forRootAsync method and referenced this channel in the queueOptions for each @RabbitSubscribe decorator. Despite this setup, the RabbitMQ Management UI indicates the creation of 3 separate channels instead of utilizing the single configured channel.
I'm encountering an issue with the @golevelup/nestjs-rabbitmq package where multiple channels are being created despite explicitly configuring a single channel to ensure ordered processing of events. This behavior is contrary to my expectation based on the configuration provided, where a single channel named 'user-service-channel-1' is defined to preserve the order of event processing.
Configuration Details
I have declared a channel 'user-service-channel-1' in the RabbitMQModule.forRootAsync method and referenced this channel in the queueOptions for each @RabbitSubscribe decorator. Despite this setup, the RabbitMQ Management UI indicates the creation of 3 separate channels instead of utilizing the single configured channel.
Here is a snippet of the module configuration:
And the event handlers:
Expected Behavior
A single channel ('user-service-channel-1') is utilized for all @RabbitSubscribe decorators to ensure the order of events is preserved.
Observed Behavior
Multiple channels are created, leading to potential ordering issues, as evidenced by the RabbitMQ Management UI screenshot:
Request
I seek guidance or a fix to ensure that the specified channel configuration is respected across multiple event handlers to preserve event order.