Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exchange and Queue callbacks aren't executed #33

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

Exchange and Queue callbacks aren't executed #33

rshelley opened this issue Oct 5, 2011 · 2 comments

Comments

@rshelley
Copy link

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
Copy link

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 pushed a commit to DrumTechnologiesLtd/node-amqp that referenced this issue Mar 20, 2012
mab-work pushed a commit to DrumTechnologiesLtd/node-amqp that referenced this issue Mar 20, 2012
postwait added a commit that referenced this issue Mar 20, 2012
@a--hoang
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants