go-rabbitmq
go-rabbitmq copied to clipboard
Declare queue without consuming messages
Hello. Thank you for your work. I tried to declare a queue with "x-dead-letter-exchange" argument to my main exchange. The problem is that I need to pass Handler for consumer but I do not want messages to be consumed. Messages must be handled automatically by TTL and "x-dead-letter-exchange" option.
Basically, I just need to declare exchanges, queue and bindings without handling messages from queue. What do you think about making Handler argument optional or making Declare functions public?