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 58295692D for ; Tue, 2 Aug 2011 07:51:09 +0000 (UTC) Received: (qmail 52368 invoked by uid 500); 2 Aug 2011 07:51:04 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 52109 invoked by uid 500); 2 Aug 2011 07:50:55 -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 52077 invoked by uid 99); 2 Aug 2011 07:50:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2011 07:50:51 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2011 07:50:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 21ECA9A678 for ; Tue, 2 Aug 2011 07:50:27 +0000 (UTC) Date: Tue, 2 Aug 2011 07:50:27 +0000 (UTC) From: "Stephen Brandwood (JIRA)" To: dev@activemq.apache.org Message-ID: <1875357324.786.1312271427120.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1553877270.1382.1311019079118.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (AMQ-3405) DLQ messages moved/copied into original queue disappear after failing processing for a second time MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AMQ-3405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13076087#comment-13076087 ] Stephen Brandwood commented on AMQ-3405: ---------------------------------------- I can confirm that this issue also affects version 5.5.0. It also occurs for any message created by the admin console, they just never go to the DLQ at all. Does anyone know of a workaround? > DLQ messages moved/copied into original queue disappear after failing processing for a second time > -------------------------------------------------------------------------------------------------- > > Key: AMQ-3405 > URL: https://issues.apache.org/jira/browse/AMQ-3405 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.4.2 > Environment: Windows 7, Java 64bit 1.6 update 20, Client and server 5.4.2 > Reporter: Carey Flichel > > 1. Message in queue A fails enough times to be moved to the DLQ. > 2. We move/copy the message back to queue A to attempt reprocessing. Invoking the retry operation from JMX can also be used. > 3. The consumer once again fails to consume the message greater than the max number of times. > 4. The message is not put back into the DLQ. If it was moved rather than copied, it means we have a message that was never successfully consumed, but has nevertheless disappeared. > This is all with the default ActiveMQ settings, though I tried adjusted the DLQ configuration to support both expired and non-persistent messages. > I found this posting which seems to indicate the same issue I am seeing: http://www.mail-archive.com/users@activemq.apache.org/msg09683.html. One difference that I am seeing is that restarting ActiveMQ does not cause the message to show up in the DLQ again. Once it is lost, it is lost forever. > To replicate this, I believe you can use a consumer that just fails on every invocation. > One interesting thing is that if I put a message into the DLQ directly, then move it to a queue with a consumer, it will end up in the DLQ again as you would expect. If I then move the DLQ message back to the original queue, it will then show the bevahiour outlined above. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira