napperley
07/05/2020, 11:10 PMnapperley
07/05/2020, 11:13 PMkenkyee
07/06/2020, 10:56 AMsvyatoslav.scherbina
07/08/2020, 11:29 AMcontent_type field type is a struct. In this case it is supposed to be val. Typically this simplifies accessing the contents of the field. If you need to rewrite the entire aggregate field value, something like this should help:
amqp_cstring_bytes("text/plain").place(props.content_type.ptr)napperley
07/08/2020, 11:41 PMamqp_cstring_bytes("text/plain".cstr.ptr).place(props.content_type.ptr)
However the method doesn't work. The content_type field remains empty.napperley
07/08/2020, 11:43 PMamqp_cstring_bytes in order to set the message body.napperley
07/08/2020, 11:55 PM