napperley
06/27/2020, 12:09 AMnapperley
06/27/2020, 12:29 AMnoStringConversion = amqp_cstring_bytes
After doing that I modified the amqp_basic_publish call to the following:
amqp_basic_publish(
state = conn,
channel = channel,
exchange = amqp_cstring_bytes(EXCHANGE.cstr.ptr),
routing_key = amqp_cstring_bytes(ROUTING_KEY.cstr.ptr),
mandatory = true.intValue,
immediate = false.intValue,
properties = props.ptr,
body = amqp_cstring_bytes(MSG_BODY.cstr.ptr)
)