Skip to content

[Feature Req] Disconnect links when maximum message size changes #705

Open
@jsquire

Description

@jsquire

Problem statement

When using a ServiceBusMessageSender instance while there's a change to the entity's maximum message size, the Batch API is unaware of the change and doesn't allow messages to be added despite the message being within the allowed size. The client holds on to the old maximum message size it has retrieved from the entity, which is confusing.

This occurs because the maximum message size is communicated to the client via property on the AMQP link when it is established. If the maximum message size for the entity changes, any links that were already opened have the wrong metadata associated with them.

Requested feature

When changes are made to entity settings that would impact how the client interacts with the service, the service should force-detatch existing AMQP links and/or connections to ensure that the client must establish a new one with the latest service metadata.

References and related

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions