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
[Service Bus] Precision is lost on the messageId when a number is passed #1098
Comments
Update on this issue from yesterday: messageId is being wrapped at - https://github.com/amqp/rhea/blob/3ef54378e67bd63be6f057d9b74132ae18d0abac/lib/types.js#L481 On updating this to wrap it as double/float value, we are receiving rejection/error event from Service Bus.
Verified that wrapping it as string instead works - message gets sent, received and no data/precision is lost. |
Where was this update done? |
In same place as the link I have referenced in comment.
|
As per the spec at http://www.amqp.org/sites/amqp.org/files/amqp.pdf, if the message id is a number, it shouldnt have decimal parts. Therefore, let's just update the sdk to throw an error when user provides such message id |
Closed with #1301 |
1.15
1
instead of1.15
The text was updated successfully, but these errors were encountered: