Exchange and Queue callbacks aren't executed #33

Open
rshelley opened this Issue Oct 5, 2011 · 2 comments

Comments

Projects
None yet
3 participants

rshelley commented Oct 5, 2011

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.

esk525 commented Dec 8, 2011

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).

@mab-work mab-work pushed a commit to DrumTechnologiesLtd/node-amqp that referenced this issue Mar 20, 2012

Mike Bardzinski Fix for issue #33 6fdbae5

a--hoang commented Dec 1, 2016

Is this fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment