[erlang-questions] AMQP payload between C & Erlang
Sat Sep 1 17:35:05 CEST 2012
On Sat, Sep 1, 2012 at 7:58 AM, Avinash Dhumane <> wrote:
> This is my first ever shot at AMQP!
> A legacy "C" application needs to interoperate with Erlang application over
> AMQP (RabbitMQ) by exchanging native C-structs as payload.
> What do I need to do in Erlang-side application (because this is where I
> have maximum control) so that C-app sees the payload as structs and
> Erlang-app sees the payload as tuples?
If I was doing this, I'd first look closely at MessagePack:
Here's an example in C:
and one in Erlang:
More information about the erlang-questions