Skip to content

Commit 6f99816

Browse files
committed
declare example
1 parent 28863cc commit 6f99816

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/multiconsumer/main.go

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ func main() {
3333
rabbitmq.WithConsumerOptionsRoutingKey("my_routing_key"),
3434
rabbitmq.WithConsumerOptionsRoutingKey("my_routing_key_2"),
3535
rabbitmq.WithConsumerOptionsExchangeName("events"),
36+
rabbitmq.WithConsumerOptionsExchangeDeclare,
3637
)
3738
if err != nil {
3839
log.Fatal(err)

0 commit comments

Comments
 (0)