[rabbitmq-discuss] is there a maximum routing key length?
Marek Majkowski
majek04 at gmail.com
Mon Aug 15 16:48:55 BST 2011
On Mon, Aug 15, 2011 at 16:41, E R <pc88mxer at gmail.com> wrote:
> I've tried searching for an answer to this to no avail.
>
> Someone has told me that librabbitmq-c encodes the routing key length
> in a single byte, so it appear that the maximum key length is 255 (or
> 256?)
>
> Is this a limitation of the protocol being used? rabbitmq? the amqp spec?
AMQP 0-9-1 defines this field as a short string. Short string keeps
length in a single byte, so the max length is 255 characters.
Marek
More information about the rabbitmq-discuss
mailing list