<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thank you, Alvaro� However, do you know what the structure of Info is for RabbitMQ messages? &nbsp;Or is it simply the message binary?<div><br></div><div>Thanks,</div><div>Lee</div><div><br></div><div><br></div><div><br><div><div>On 17 Apr 2013, at 20:00, Alvaro Videla &lt;<a href="mailto:videlalvaro@gmail.com">videlalvaro@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Yes, it's possible. Use handle_info in your gen_server behaviour and then pattern match on the parameters.<div><br></div><div>handle_info is used for messages that are sent to the process but that are not part of the gen_server API.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 17, 2013 at 8:54 PM, Lee Sylvester <span dir="ltr">&lt;<a href="mailto:lee.sylvester@gmail.com" target="_blank">lee.sylvester@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey guys,<br>
<br>
So, I'm using RabbitMQ with Erlang. &nbsp;Does anyone know how I'd receive messages through amqp_client using OTP? &nbsp;The examples only show using a loop with the receive, whereas I'd like to avoid an actual loop where possible.<br>

<br>
Thanks,<br>
Lee<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</blockquote></div><br></div>
_______________________________________________<br>rabbitmq-discuss mailing list<br><a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss<br></blockquote></div><br></div></body></html>