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

Simon MacMullen simon at rabbitmq.com
Thu Sep 2 15:57:56 BST 2010

On 02/09/10 15:55, Vlad Alexandru Ionescu wrote:
> 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.

That's maybe slightly harsh. If you find the extra features worthwhile 
then feel free to use gen_server2. But be aware that you're using a 
RabbitMQ API rather than an Erlang one, with all that implies for API 

Cheers, Simon
Simon MacMullen
Staff Engineer, RabbitMQ
SpringSource, a division of VMware

More information about the rabbitmq-discuss mailing list