node-amqp
node-amqp copied to clipboard
Exchange and Queue callbacks aren't executed
When calling "connection.exchange(...)" or "connection.queue(...)" the callback isn't being executed. I can profile the amqp.js file and see it in the Exchange and Queue objects, but it's not being executed. It's only invoked if the Exchange or Queue names already exist.
I can confirm this as well.
FYI: To get callbacks to work, I had to use the .addListener method via chaining.
e.g. connection.exchange(...).addListener('error",logError).addListener('open',doStuff).
Is this fixed?