Setting TTL to 0 internally set it forever
------------------------------------------

                 Key: QPID-3223
                 URL: https://issues.apache.org/jira/browse/QPID-3223
             Project: Qpid
          Issue Type: Bug
          Components: C++ Client
            Reporter: Jerome Ajot
            Priority: Minor


Setting the Message TTL is 0 via the Client API, sets it internally to never 
expired.
The AMQP spec (0.10 and 1.0) does not define zero as a special value.

An easy way to fix this will be to define TTL as a 
boost::optional<boost::uint64_t>, that way it can be optional/never expire and 
have 0 as valid value.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to