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="mailto:dhge@nym.hush.com" target="_blank">dhge@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?� I think it relates to the void * decoded and amqp_bytes_t raw members of amqp_frame_t::properties, but I don&#39;t know how to interpret those pointers.<br>
<br>Thanks.<br><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>