qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Conway <acon...@redhat.com>
Subject CHANNEL_MAX and CHANNEL_HIGH_BIT question
Date Wed, 22 Jan 2014 19:40:17 GMT
>From qpid/cpp/src/qpid/framing/amqp_types.h:

/** Maximum channel ID used by broker. Reserve high bit for internal use.*/
const ChannelId CHANNEL_MAX=(ChannelId(~1))>>1;
const ChannelId CHANNEL_HIGH_BIT= ChannelId(~CHANNEL_MAX);

Does anyone know if and where the channel high bit is used internally? There's no reference
to CHANNEL_HIGH_BIT anywhere in the source.

This affects new HA which (currently) needs a channel per replicated queue. The definition
above limits us to 32k queues. Any thoughts on the impact of changing this to 64k? For my
purposes the change can be server-side only, so the client could still limit channels to 32k
(if there's a reason to do that)

Cheers,
Alan.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message