[rabbitmq-discuss] gen_server2 ques. and was: Re: clarifying plugin supervision, configuration

Vlad Alexandru Ionescu vlad at rabbitmq.com
Thu Sep 2 15:55:58 BST 2010

> What are the advantages to using the gen_server2 module rather than 
> stock erlang gen_server? Would it be better in general for the 
> webhooks plugin to use gen_server2?

Hi Jon,

gen_server2 is a modified version of Erlang's gen_server, used 
internally in the broker. You can see a list of its modifications in the 
header of gen_server2.erl.
In general, it is advisable to stick with the stock gen_server version.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100902/dad3fc22/attachment.htm>

More information about the rabbitmq-discuss mailing list