wagslane / go-rabbitmq

A wrapper of streadway/amqp that provides reconnection logic and sane defaults
https://blog.boot.dev/golang/connecting-to-rabbitmq-in-golang-easy/
MIT License
805 stars 128 forks source link

Publish method error #55

Closed 873764182 closed 2 years ago

873764182 commented 2 years ago

参数的名称不对吗,Publish 方法的routingKeys应该对应 StartConsuming 的 queue 参数,你这个错误让我改代码到了深夜还在继续调试。

wagslane commented 2 years ago

Could you post an English version?

On Wed, Dec 8, 2021, 12:20 PM 巷子猫 @.***> wrote:

参数的名称不对吗,Publish 方法的routingKeys应该对应 StartConsuming 的 queue 参数,你这个错误让我改代码到了深夜还在继续调试。

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wagslane/go-rabbitmq/issues/55, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFHZKVKDEPZRRNRDHLVYOGDUP6VWPANCNFSM5JUST43A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.