Closed abezzub closed 9 years ago
Default exchange has implicit bindings and is not supposed to be bound explicitly. Sneakers does not take this into account.
A workaround is to set :routing_key => []
in Sneakers.configure
@abezzub Why did you close?
Oh. I see the commits now.
Is Sneakers supposed to work with default exchange? If I setup Sneakers like this:
I get this error (partial stack trace):
Error happens here (in queue.rb):
If I understand correctly all queues are binded to default exchange by default, so bind can be skipped if
@exchange
is a default exchange. If it is OK to support default exchange I will be happy to submit a PR. I assume something like this should do the trick:I tested above with my app and it works. Let me know what you think.