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

[azservicebus] Return ErrMessageTooLarge if a message is too big to send #20721

Merged

Commits on May 1, 2023

  1. Return an error when you try to send a message that's too large.

    This now works just like the message batch - you'll get an ErrMessageTooLarge
    if you attempt to send a message that's too large for the link's configured
    size.
    
    NOTE: there's a patch to `internal/go-amqp/Sender.go` to match what's in go-amqp's
    main so it returns a programmatically useful error when the message is too large.
    
    Fixes Azure#20647
    richardpark-msft authored May 1, 2023
    Configuration menu
    Copy the full SHA
    aa8f10c View commit details
    Browse the repository at this point in the history