Closed xj-zh-dev closed 3 years ago
And how to publish messages with retries???
Please see the Godoc: WithPublishOptionsHeaders
Retries are not a built-in functionality to the client - your application should handle them if you need them.
Please see the Godoc:
WithPublishOptionsHeaders
Retries are not a built-in functionality to the client - your application should handle them if you need them.
I download latest version, and use WithConsumeOptionsBindingExchangeName does not work well.
How to publish message with Headers?
Like below: amqp.Publishing{ Headers: headers, ContentType: "text/plain", Body: data, },