[rabbitmq-discuss] Decoding header fields

Bernhard Mogens Ege bme at saseco.dk
Thu Jul 26 14:08:18 BST 2012


Well, it can also be "2" and higher. And in the future I'd like to send
int's and more. But I still don't know if I send it correctly or if I do
something wrong. :-/ All I know is I only get byte[] on the receiving side.

Looking at WireFormatting.cs didn't really help me except it seems RabbitMQ
does have something that could do what I want. I just don't know how to use
it.

-- 
Bernhard

-----Original Message-----
From: Emile Joubert [mailto:emile at rabbitmq.com] 
Sent: 26. juli 2012 15:03
To: bme at saseco.dk
Cc: 'Discussions about RabbitMQ'
Subject: Re: [rabbitmq-discuss] Decoding header fields

Hi,

On 26/07/12 12:57, Bernhard Mogens Ege wrote:
> [...] The value string would in my case be "0" or "1".

For a table field value taking only these two values you can use a boolean
type, which in the best case uses only one bit to encode.


-Emile




More information about the rabbitmq-discuss mailing list