[rabbitmq-discuss] rabbitmq-c, how to use x-message-ttl ？
mklishin at gopivotal.com
Mon Nov 4 11:53:42 GMT 2013
On 4 Nov 2013, at 15:34, 3k4b251 <314992959 at qq.com> wrote:
> entry.value.kind = AMQP_FIELD_KIND_UTF8; PS: I don't know how to
It should be a numerical type, likely AMQP_FIELD_KIND_I64 (signed 64 bit integer)
or AMQP_FIELD_KIND_U32 (unsigned 32 bit integer).
> entry.value.value. PS: I don't know how to
> fill it.
This should be the x-message-ttl value you want, in milliseconds (and it cannot be 0).
Software Engineer, Pivotal/RabbitMQ
More information about the rabbitmq-discuss