[rabbitmq-discuss] Can rabbitMQ publish an object to the queue?

King Lee aluenkinglee at gmail.com
Mon May 21 08:25:00 BST 2012


Thanks,I did it as you said and that goes well :)

Aluen

2012/5/14 Simon MacMullen <simon at rabbitmq.com>

> On 12/05/12 10:44, aluen wrote:
>
>> the underline words is what I want to ask,how to  deal with it , can I
>> put an object to the queue because I hope to do like this ,do you have
>> other method? Thanks!!
>>
>
> Hi Aluen. RabbitMQ treats message bodies as opaque binary data. If you
> want to send objects you'll need to serialise them - if you're only using
> Python you could pickle the objects. Otherwise you would need to write out
> JSON or XML or similar.
>
> Cheers, Simon
>
> --
> Simon MacMullen
> RabbitMQ, VMware
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120521/0de31749/attachment.htm>


More information about the rabbitmq-discuss mailing list