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

Opening a link with an existing linkname on the same session throws resource-locked exception #153

Open
abhipsaMisra opened this issue Feb 18, 2020 · 2 comments

Comments

@abhipsaMisra
Copy link
Member

abhipsaMisra commented Feb 18, 2020

As per the AMQP spec, when we attach a link with the same linkname as one existing on the connection, the second attach should be successful, and the existing attached link should be closed with an error link-stolen. The AMQP library however does not accept the second attach, and returns a resource-locked error code instead.

Line no: https://github.com/Azure/azure-amqp/blob/master/src/AmqpSession.cs#L178

@xinchen10
Copy link
Member

Yes, this is a bug.

@abhipsaMisra
Copy link
Member Author

Are there any plans to fix this in the next release?

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

2 participants