ProtonLink.setMaxMessageSize

Sets the local link max message size, to be conveyed to the peer via the Attach frame when attaching the link to the session. Null or 0 means no limit.

Must be called during link setup, i.e. before calling the {@link #open()} method.

@param maxMessageSize the local max message size value, or null to clear. 0 also means no limit.

interface ProtonLink(T)
void
setMaxMessageSize
(
UnsignedLong maxMessageSize
)

Meta