You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jerome Ajot (JIRA)" <ji...@apache.org> on 2011/04/20 17:07:05 UTC

[jira] [Created] (QPID-3223) Setting TTL to 0 internally set it forever

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:dev-subscribe@qpid.apache.org