Thanks Alan.&nbsp; One more thing.&nbsp; How can I get the routing key of a received message?&nbsp; <br><br>On Monday, November 19, 2012 12:22:19 PM UTC-5, Alan Antonuk wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">You want to cast the decoded void* pointer to a amqp_basic_properties_t* pointer then you can access the properties.<div><br></div><div>Note that this pointer is invalidated the next time you call amqp_maybe_release_buffers, so be sure to copy anything you need out before you call that function.</div>
<div><br></div><div>-Alan<br><br><div class="gmail_quote">On Mon, Nov 19, 2012 at 9:54 AM, Daniel Hook <span dir="ltr">&lt;<a href="javascript:" target="_blank" gdf-obfuscated-mailto="x26R8znWo7sJ">dh...@nym.hush.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I can see clearly how to set the properties in amqp_basic_publish, but how does the consumer read them?&nbsp; I think it relates to the void * decoded and amqp_bytes_t raw members of amqp_frame_t::properties, but I don't know how to interpret those pointers.<br>
<br>Thanks.<br><br>______________________________<wbr>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="javascript:" target="_blank" gdf-obfuscated-mailto="x26R8znWo7sJ">rabbitmq...@lists.<wbr>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<wbr>cgi-bin/mailman/listinfo/<wbr>rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>
</blockquote>