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

basic.consume doesn't return consumer_tag, so how to get it? #71

Open
vitaly-krugl opened this issue May 14, 2015 · 1 comment
Open

Comments

@vitaly-krugl
Copy link

Presently, there appears to be no mechanism to retrieve the generated consumer_tag when calling channel.basic.consume(...).

Basic.consume should return the generated consumer_tag so it may be used by the application.

Also, in the event that consumer_tag was neither supplied nor generated, the completion callback invoked by Basic._recv_consume_ok should pass the broker-generated consumer_tag to the completion callback as an arg.

@vitaly-krugl
Copy link
Author

Perhaps, it would be better to make public Basic's routine for generating the tags, so that users that need the tag could use an existing routine rather than having to implement their own.

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

1 participant