jondot/sneakers

Possibility to set arguments on a queue when connecting to a headers exchange

Closed this issue · 1 comments

When subscribing to events from an exchange of type "headers" (http://rubybunny.info/articles/exchanges.html#headers_exchanges), is it possible to specify arguments when binding the queue to that exchange?

In the Bunny documentation they do it like this (from the same link as above):

q1   = ch.queue("", :exclusive => true).bind(x, :arguments => {"os" => "linux", "cores" => 8, "x-match" => "all"})

I've looked in the documentation and source code but couldn't find any way of doing it. Sorry if I've missed it and it's possible.

Implemented by #358.