Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


queueBindOk with multiple bind operations #99

davidfooks opened this Issue · 4 comments

2 participants


Currently, there is no way to find out if a specific binding has completed with 'queueBindOk'. For example:

queue.bind('followers', '1');
queue.bind('followers', '2');
queue.on('queueBindOk', function queueBoundFn()

How can I tell which binding was successfully bound?

Can the queueBindOk callback function give the exchangeName and routingKey that was bound?

queue.on('queueBindOk', function queueBoundFn(exchangeName, routingKey)

Or maybe add an addCallback function like with subscribe?




Ok I had a look in master and it looks like you have something along these lines (added an optional callback to bind). How long will it be until the next release (or how stable is master)?


It looks like the added code doesn't actually solve the problem.

There is only a single _bindCallback variable, so the second bind() will overwrite the first bind()'s callback.


Is this a restriction of AMQP or just this library implementation?


I'm not very familiar with the AMQP protocol, but it doesn't look like queue.bind-ok has any parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.