[rabbitmq-discuss] Decoding header fields
Emile Joubert
emile at rabbitmq.com
Thu Aug 2 14:06:29 BST 2012
Hi,
On 01/08/12 12:07, Bernhard Mogens Ege wrote:
> sendMessage("myroutingkey", new Dictionary<string, string> { { "languageid",
> "1" } }, null);
If you only ever send strings values then you will only ever receive
byte array values (via the intermediate 'S'-prefixed table value). See
Wireformatting.WriteFieldValue() and ReadFieldValue(). The string "1" is
still a string and won't automatically be recognised as a number.
If the producer sends other types of values then the consumer will
receive other types of values.
-Emile
More information about the rabbitmq-discuss
mailing list