[erlang-questions] Message Loop in Gen_Server
Tim Watson
watson.timothy@REDACTED
Thu Apr 18 10:42:26 CEST 2013
Just to clarify - if you're consuming RabbitMQ messages then amqp_selective_consumer or amqp_gen_consumer will be the simplest choice. All the other advice is fine and good, but the OP is clearly relatively new to Erlang/OTP and those simplifying behaviours are clearly more appropriate to his needs.
On 18 Apr 2013, at 09:15, Ali Sabil wrote:
> 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
>
I've not seen this before - it sounds interesting so I'll take a look. :)
Cheers,
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130418/949deccc/attachment.htm>
More information about the erlang-questions
mailing list