[rabbitmq-discuss] getting node.js to talk to scala over rabbitmq
michael.s.klishin at gmail.com
Thu Oct 27 22:29:51 BST 2011
> Is there an encoding service underneath basicPublish / basicConsume that is utilizing the info on the content type properties or is that a feature of a given client offering (such as node-amqp)?
It is a feature offered by node-amqp (and an opinionated one). You can subclass com.rabbitmq.client.DefaultConsumer and
make your implementation assume all message payloads are JSON and thus can be deserialized automatically. As far as AMQP clients are concerned, message payloads are just collections of bytes, your applications decide how to interpret them.
More information about the rabbitmq-discuss