[rabbitmq-discuss] Decoding header fields

Emile Joubert emile at rabbitmq.com
Thu Jul 26 14:19:09 BST 2012


Hi,

On 26/07/12 14:08, Bernhard Mogens Ege wrote:
> 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.

Ok, obviously if you need to represent more than two values then use a
larger type.

> 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.

See RabbitMQ.Client.Examples.SendMap for an example that can send
multiple types of values in a header.


-Emile






More information about the rabbitmq-discuss mailing list