[rabbitmq-discuss] (no subject)
Michael Bridgen
mikeb at rabbitmq.com
Mon Nov 8 14:42:27 GMT 2010
On 11/08/2010 02:32 PM, Adam Kaminiecki wrote:
>
> Hi,
>
> How can i publish another message type than string(for example type
> object) on exchane or queue??
AMQP and RabbitMQ don't care what you are publishing -- to them it's
just bytes. However, a client library might; so, it depends on your
client library. Most client libraries will let you supply a byte array
or the equivalent to the basic.publish method.
In other words, you should serialise whatever it is you want to send, to
bytes or (if your library doesn't support that) something like JSON.
Regards,
Michael
More information about the rabbitmq-discuss
mailing list