-
Notifications
You must be signed in to change notification settings - Fork 146
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
Can't create a pair link due of Attach.LinkName override #582
Comments
Open
I am fixing the bug by including link role in link name comparison. |
Thank you |
@xinchen10 thank you. Much appreciated by the entire RabbitMQ team! |
I made the changes. Now it should allow the same name for two links with different roles. |
It works. Thank you |
@xinchen10 may I ask when the new version will be released? thank you |
Version 2.4.10 is released. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The issue was already raised here #360
Description
I will try to propose an easy solution ( let's hope).
Btw, given this code:
The library will replace the LinkName with the name
In this case, each value you set to the
Attach.LinkName
will be replaced.The library does not allow the use of the same name:
raises:
mylink has been attached
To create the pair the linkname must be unique ref: https://docs.oasis-open.org/amqp/linkpair/v1.0/cs01/linkpair-v1.0-cs01.html#_Toc51331304
Possible solution(?)
I am not sure it can work but the easy solution would be like this:
Thank you
The text was updated successfully, but these errors were encountered: