<div dir="ltr">Starting from the amqp_listen.c example:<div><a href="https://github.com/alanxz/rabbitmq-c/blob/master/examples/amqp_listen.c#L149">https://github.com/alanxz/rabbitmq-c/blob/master/examples/amqp_listen.c#L149</a><br>
</div><div><br></div><div style>That amqp_basic_properties_t* struct is what you&#39;re looking for. �</div><div style><br></div><div style>You&#39;ll have to consult the _flags field to make sure the field is set</div><div style>
<br></div><div style>amqp_boolean_t is_set = p-&gt;_flags &amp; AMQP_BASIC_REPLYTO_FLAG;</div><div style><br></div><div style>Then the reply-to value is stored in the reply_to member.</div><div style><br></div><div style>
HTH</div><div style>-Alan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 6, 2013 at 10:00 AM, Daniel Horsey <span dir="ltr">&lt;<a href="mailto:dan.horsey@broadruntech.com" target="_blank">dan.horsey@broadruntech.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">








<div lang="EN-US" link="blue" vlink="purple">

<div>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt">Making
my way through the RabbitMQ C api, and so far, so good, but I�m having
trouble implementing the �RPC� model.� I can see how the �reply_to�
value gets set in the requests, but having trouble finding it on the consumer
side so I can use it to respond to.� Looked at the rpc_sendstring_client
example, but I don�t see where it executes the consumer code to extract
the data.<u></u><u></u></span></font></p>

<p class="MsoNormal"><font face="Arial"><u></u>�<u></u></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt">Where
do I find this value?<u></u><u></u></span></font></p>

<p class="MsoNormal"><font face="Arial"><u></u>�<u></u></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt">Thanks
in advance!<u></u><u></u></span></font></p>

<p class="MsoNormal"><font face="Arial"><u></u>�<u></u></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt">����������� -dan<u></u><u></u></span></font></p>

<p class="MsoNormal"><font face="Arial"><u></u>�<u></u></font></p>

</div>

</div>


<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>
<br></blockquote></div><br></div>