Open JinwenJay opened 4 years ago
string strExpiration = "6000"; m_prop._flags |= AMQP_BASIC_EXPIRATION_FLAG; m_prop.expiration = amqp_cstring_bytes(strExpiration.c_str());
We can't publish message using above code. The key is what should be set about m_prop.expiration?
m_prop is a struct, amqp_basic_propertiest in amqp_framing.h
string strExpiration = "6000"; m_prop._flags |= AMQP_BASIC_EXPIRATION_FLAG; m_prop.expiration = amqp_cstring_bytes(strExpiration.c_str());
We can't publish message using above code. The key is what should be set about m_prop.expiration?