[rabbitmq-discuss] Message payload encodingfrom Sabrina
Sabrina Friedman
utebachmeier at gmail.com
Thu Aug 18 20:38:47 BST 2011
On 29/07/11 19:00, Helena Edelson wrote:
> UTF-8 or base64
I'm curious - those are the two options supported by the management
plugin - are you sending messages through that?
If so, the idea is that UTF-8 is more convenient if your message payload
is a string, but if your message needs to contain arbitrary binary
content then we need to encode it somehow (as the message will end up as
a string in a JSON document).
If you're using AMQP then this doesn't apply, the message contents can
be any binary, and using base64 encoding would be an odd choice!
It you are sending messages via the management API, be aware that it's
designed for testing / diagnostics / experimentation - performance is
not great, and there's no way to get greater reliability than consuming
with noack.
Cheers, Simon
--
Simon MacMullen
RabbitMQ, VMware
Sabrina Friedman
Billige Flüge Marketing GmbH
Emanuelstr. 3,
10317 Berlin
Deutschland
Telefon: +49 (33) 5310967
Email: utebachmeier at gmail.com
Site: http://flug.airego.de - Billige Flüge vergleichen
More information about the rabbitmq-discuss
mailing list