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 98783D25B for ; Tue, 24 Jul 2012 19:53:37 +0000 (UTC) Received: (qmail 55860 invoked by uid 500); 24 Jul 2012 19:53:35 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 55803 invoked by uid 500); 24 Jul 2012 19:53:35 -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 55547 invoked by uid 99); 24 Jul 2012 19:53:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2012 19:53:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 687C61402B8 for ; Tue, 24 Jul 2012 19:53:35 +0000 (UTC) Date: Tue, 24 Jul 2012 19:53:35 +0000 (UTC) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Message-ID: <2072426101.97876.1343159615431.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1521953151.96305.1343148216317.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (AMQ-3942) Certain messages do not expire in the embedded broker 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/AMQ-3942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13421714#comment-13421714 ] Timothy Bish commented on AMQ-3942: ----------------------------------- Can you try your test against a 5.7-SNAPSHOT broker? I ran it here a few times and it passed every time. > Certain messages do not expire in the embedded broker > ----------------------------------------------------- > > Key: AMQ-3942 > URL: https://issues.apache.org/jira/browse/AMQ-3942 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.4.3, 5.6.0 > Environment: Red Hat Enterprise Linux Server release 6.1 (Santiago) > Reporter: Pedro de Lara > Labels: expiration, timetolive, ttl > Attachments: ExpirationTest.java > > > When sending messages to a queue and waiting for the expiration task to expire them, only some of the expired messages are moved to the DLQ. Other expired messages (With same expiration time as the ones moved to the DLQ) just sit in the queue, stuck until all messages in the queue expire, at which point they are all moved to the DLQ. > This seems to happen only in the embedded broker (configured in activemq.xml) and only for some messages (It seems the size of the message however I am uncertain if the content could actually cause such an issue). > A Unit Test is provided that shows the issue. The unit test includes a boolean that can be changed to run it towards a created broker (instead of the embedded one) for comparison purposes. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira