[rabbitmq-discuss] Frame generation

Matthias Radestock matthias at lshift.net
Mon Jul 30 17:15:01 BST 2007


Ben,

> So basically what you are saying it the spec treats it as opaque but
> the sender and receiver implicitly agree that it's a table

correct.

>> rabbit_framing.erl is auto-generated. If you do find any bugs in it
>> then you need to fix the generation script, not the file itself.
>
> Ah, I've always wondered what that codegen module does and why the
> spec is encoded in XML. Just out of interest's sake, does this
> approach make the maintainance and migration easier or does it save on
> boilerplate code?

Mostly the former.

Btw, we generate the Java version of the codec in the same way.


Matthias.




More information about the rabbitmq-discuss mailing list