[erlang-questions] Message Loop in Gen_Server

Ali Sabil <>
Thu Apr 18 10:15:44 CEST 2013


I case you need something that is OTP compliant while allowing you to drive
the receive loop yourself, you can take a look at gen_process:
https://github.com/asabil/gen_process which is a lower level alternative to
gen_server and gen_fsm

Cheers,
Ali


On Wed, Apr 17, 2013 at 9:50 PM, Tim Watson <>wrote:

> On 17 Apr 2013, at 20:13, JD Bothma wrote:
>
>
> The easiest way to get started with something good enough, though, is
> gen_server :)
>
>
> That's usually true, but if you're consuming RabbitMQ messages
> then amqp_selective_consumer or amqp_gen_consumer would probably be the
> simplest choice. :)
>
> Cheers,
> Tim
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130418/39ba3018/attachment.html>


More information about the erlang-questions mailing list