Update order_client.go
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 44s
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 44s
This commit is contained in:
@@ -24,12 +24,12 @@ type RabbitTransportClient struct {
|
||||
|
||||
func (t *RabbitTransportClient) declareBindAndConsume(topic string) (<-chan amqp.Delivery, error) {
|
||||
q, err := t.channel.QueueDeclare(
|
||||
"", // name
|
||||
false, // durable
|
||||
false, // delete when unused
|
||||
true, // exclusive
|
||||
false, // no-wait
|
||||
nil, // arguments
|
||||
"orders", // name
|
||||
false, // durable
|
||||
false, // delete when unused
|
||||
true, // exclusive
|
||||
false, // no-wait
|
||||
nil, // arguments
|
||||
)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user