[rabbitmq-discuss] Erlang OTP handle
videlalvaro at gmail.com
Wed Apr 17 20:00:46 BST 2013
Yes, it's possible. Use handle_info in your gen_server behaviour and then
pattern match on the parameters.
handle_info is used for messages that are sent to the process but that are
not part of the gen_server API.
On Wed, Apr 17, 2013 at 8:54 PM, Lee Sylvester <lee.sylvester at gmail.com>wrote:
> Hey guys,
> So, I'm using RabbitMQ with Erlang. Does anyone know how I'd receive
> messages through amqp_client using OTP? The examples only show using a
> loop with the receive, whereas I'd like to avoid an actual loop where
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss