<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 09/07/2012 08:23 AM, Brett Cameron wrote:
    <blockquote
cite="mid:CALPqkiqmz+SRbVP9cku596xKqAL94V4iPDEF5SFBW2+ZRW23cQ@mail.gmail.com"
      type="cite">Sajith,<br>
      <br>
      Could you just use something like <a moz-do-not-send="true"
href="http://manpages.ubuntu.com/manpages/natty/man1/amqp-consume.1.html">http://manpages.ubuntu.com/manpages/natty/man1/amqp-consume.1.html</a>?
      <div style="word-wrap:break-word">
        <div>
          <div><br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    That sets up a consumer rather than doing a one-off basic.get -
    however
    <a class="moz-txt-link-freetext" href="http://manpages.ubuntu.com/manpages/natty/man1/amqp-get.1.html">http://manpages.ubuntu.com/manpages/natty/man1/amqp-get.1.html</a>
    appears to do exactly what the OP wants. Both of these programs
    appear to come from the ./tools subdirectory of rabbitmq-c anyway. <br>
  </body>
</html>