[rabbitmq-discuss] java serialized objects

Michael Bridgen mikeb at rabbitmq.com
Mon Mar 5 12:05:04 GMT 2012


> Is there a way to send java serialized object within the message body of
> a message? Read somewhere that it ain't possible in RabbitMQ.
> Thanks,

RabbitMQ will happily convey whatever bytes you give it. That can be a 
serialised Java object (you'll have to do the serialisation yourself), 
ProtoBuf, a UTF8 string, or whatever. If you need to distinguish at the 
other end, you can set the "content-type" header to indicate what is 
being sent.

-Michael


More information about the rabbitmq-discuss mailing list