Re: getTtl() behaviour (C++ messaging API)

2016-01-20 Thread Gordon Sim
On 01/20/2016 12:29 PM, Toralf Lund wrote: On 19/01/16 17:01, Gordon Sim wrote: The value reported for received messages is that value that was written to the wire by the peer (e.g. the broker). The receiving client does not reduce this value in anyway after the message has been decoded. So,

getTtl() behaviour (C++ messaging API)

2016-01-19 Thread Toralf Lund
Hi, I have some questions about the value from qpid::messaging::Message::getTtl() on received messages; based on testing, I've concluded that 1. The value returned represents the time that remains of the time-to-live specified by the sender. 2. If no TTL was set, the value is

Re: getTtl() behaviour (C++ messaging API)

2016-01-19 Thread Gordon Sim
On 01/19/2016 02:19 PM, Toralf Lund wrote: Hi, I have some questions about the value from qpid::messaging::Message::getTtl() on received messages; based on testing, I've concluded that 1. The value returned represents the time that remains of the time-to-live specified by the sender. 2.