-
-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RabbitMQ publish doesn't take advantage of amqp-connection-manager's reliable publish #673
Labels
Comments
ttshivers
added a commit
to ttshivers/nestjs
that referenced
this issue
Jan 15, 2024
Publish messages using the ChannelWrapper instead of the raw ConfirmChannel to take advantage of the reliability features of `amqp-connection-manager`. BREAKING CHANGE: This changes the behavior of throwing connection related errors re golevelup#673
@ttshivers If you feel confident about this change and can provide test coverage to assert that it works as intended I'll be happy to review and merge. |
ttshivers
added a commit
to ttshivers/nestjs
that referenced
this issue
Jan 16, 2024
Publish messages using the ChannelWrapper instead of the raw ConfirmChannel to take advantage of the reliability features of `amqp-connection-manager`. BREAKING CHANGE: This changes the behavior of throwing connection related errors re golevelup#673
ttshivers
added a commit
to ttshivers/nestjs
that referenced
this issue
Jan 16, 2024
Publish messages using the ChannelWrapper instead of the raw ConfirmChannel to take advantage of the reliability features of `amqp-connection-manager`. BREAKING CHANGE: This changes the behavior of throwing connection related errors re golevelup#673
underfisk
pushed a commit
that referenced
this issue
Jan 16, 2024
Publish messages using the ChannelWrapper instead of the raw ConfirmChannel to take advantage of the reliability features of `amqp-connection-manager`. BREAKING CHANGE: This changes the behavior of throwing connection related errors re #673
Fixed by #678 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The rabbitmq package's
publish
implementation callspublish
on a rawConfirmChannel
instead of theChannelWrapper
provided byamqp-connection-manager
.Since it's not using the
ChannelWrapper
, it's missing out on all the reliability features thatamqp-connection-manager
provides for publishing messages.Was this an intentional decision to not use the
ChannelWrapper
?nestjs/packages/rabbitmq/src/amqp/connection.ts
Lines 612 to 627 in 1891b32
Instead of using
this._channel
there,this._managedChannel
could be used instead which is theChannelWrapper
The text was updated successfully, but these errors were encountered: