[rabbitmq-discuss] sending zipped message

José Micó jose.mico at gmail.com
Wed May 23 09:42:45 BST 2012


On 05/23/2012 05:24 AM, Mohsen Lotfizad wrote:
>
> As you see some of my messages should be compress along witch some 
> others shouldn't.
> Is there any way I could set any properties to tell the consumer that 
> "hey! this is a zipped message" ?
>

You should use the "content encoding" attribute.

See http://www.rabbitmq.com/api-guide.html ("Protocol class overview)
and http://www.rabbitmq.com/tutorials/amqp-concepts.html ("Message 
Attributes and Payload")


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120523/94067b57/attachment.htm>


More information about the rabbitmq-discuss mailing list