You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2012/10/15 22:41:05 UTC
[jira] [Resolved] (AMQCPP-428) setTimeToLive not working
[ https://issues.apache.org/jira/browse/AMQCPP-428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish resolved AMQCPP-428.
---------------------------------
Resolution: Cannot Reproduce
Tested here with modified simple_producer example and messages are expiring as expected.
> setTimeToLive not working
> -------------------------
>
> Key: AMQCPP-428
> URL: https://issues.apache.org/jira/browse/AMQCPP-428
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: CMS Impl, Transports
> Affects Versions: 3.4.4
> Environment: Debian linux wheezy
> Reporter: Oscar Pernas
> Assignee: Timothy Bish
> Labels: discarded, expired, message,, timeToLive,
>
> Making tests, method setTimeToLive of message is not working and messages are never discarded by the broker. This can produce an out of memory in some situations.
> Example code:
> //sending message
> producer->send( textMessage,
> getPersistent(),
> activeMessageToSend.getPriority(),
> 30000);
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira