Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4F276D58F for ; Mon, 15 Oct 2012 20:41:09 +0000 (UTC) Received: (qmail 16454 invoked by uid 500); 15 Oct 2012 20:41:06 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 16086 invoked by uid 500); 15 Oct 2012 20:41:05 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 15987 invoked by uid 99); 15 Oct 2012 20:41:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2012 20:41:05 +0000 Date: Mon, 15 Oct 2012 20:41:05 +0000 (UTC) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Message-ID: <900086865.47312.1350333665524.JavaMail.jiratomcat@arcas> In-Reply-To: <554464437.138595.1348826707825.JavaMail.jiratomcat@arcas> Subject: [jira] [Resolved] (AMQCPP-428) setTimeToLive not working MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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