[
https://issues.apache.org/jira/browse/QPID-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Ritchie resolved QPID-25.
--------------------------------
Resolution: Fixed
Fix Version/s: (was: M3)
M2
Will create new JIRA for reaper version
> Provide timeToLive implementation for message MessageProducer.send method
> -------------------------------------------------------------------------
>
> Key: QPID-25
> URL: https://issues.apache.org/jira/browse/QPID-25
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker, Java Client
> Reporter: Marnie McCormack
> Assigned To: Robert Greig
> Fix For: M2
>
>
> The timeToLive parameter is available on some of the send methods of the
> javax.jmx.MessageProducer interface and thus on the qpid implementation
> (org.apache.qpid.client.BasicMessageProducer) of this interface. However,
> this flag is not actually implemented i.e. currently just ignored :-(
> We need to implement support for this parameter. This requires a check on the
> AMQP protocol handling of this flag i.e. to check that it can currently be
> supported. Think it is - but implementer to check and raise if not.
> The information below has been extracted from section 4.8 of the JMS
> specification fyi (see spec for more detail/refs):
> A client can specify a time-to-live value in milliseconds for each message it
> sends. This value defines a message expiration time that is the sum of the
> message's time-to-live and the GMT it is sent (for transacted sends, this is
> the time the client sends the message, not the time the transaction is
> committed). A JMS provider should do its best to expire messages accurately;
> however, JMS does not define the accuracy provided. It is not acceptable to
> simply ignore time-to-live.
> For more information on message expiration, see Section 3.4.9 "JMSExpiration."
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.