Transport.setChannelMax

Set the local value of channel-max, to be advertised to the peer on the <a href="http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-transport-v1.0-os.html#type-open"> Open frame</a> emitted by the transport.

The remote peers advertised channel-max can be observed using {@link #getRemoteChannelMax()}.

@param channelMax the local channel-max to advertise to the peer, in range [0 - 2^16). @throws IllegalArgumentException if the value supplied is outside range [0 - 2^16).

interface Transport
void
setChannelMax

Meta