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 50DD449DD for ; Thu, 7 Jul 2011 07:41:57 +0000 (UTC) Received: (qmail 65388 invoked by uid 500); 7 Jul 2011 07:41:56 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 64812 invoked by uid 500); 7 Jul 2011 07:41:49 -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 64752 invoked by uid 99); 7 Jul 2011 07:41:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jul 2011 07:41:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Thu, 07 Jul 2011 07:41:37 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B9B5C4A156 for ; Thu, 7 Jul 2011 07:41:16 +0000 (UTC) Date: Thu, 7 Jul 2011 07:41:16 +0000 (UTC) From: "Gary Tully (JIRA)" To: dev@activemq.apache.org Message-ID: <1974112233.6443.1310024476756.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <444238503.998.1309882097034.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (AMQ-3394) Better Fault Tolerance 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-3394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13061098#comment-13061098 ] Gary Tully commented on AMQ-3394: --------------------------------- can you provide a test case that captures this use case? currently a redispatch of an in-flight message is tied to consumer close. I guess you want that tied to a timer? the abort slow consumer policy is one way to tie the death of a consumer to a timer. is that close to what you want? > Better Fault Tolerance > ---------------------- > > Key: AMQ-3394 > URL: https://issues.apache.org/jira/browse/AMQ-3394 > Project: ActiveMQ > Issue Type: New Feature > Components: Broker > Affects Versions: 5.5.0 > Reporter: Darren Govoni > > Other queue technologies provide a manner of fault tolerance missing from AMQ message semantics. > That is, messages can be acknowledged at any time by a client. Failing to do so within the messages TTL, should result in the message re-appearing on the queue so another client can re-try it. > Reliable messaging with AMQ currently pertains to only message receipt, but in practical systems distributing work via a queue this is unsufficient semantics to ensure tolerance of faults "during" work processing. In that case, clients will only acknowledge a message in the event of successful processing of that message (left to the client to decide). If the client were to suffer a fatality during processing, the work associated with the message is left undone in the current AMQ because it cannot be re-processed. In these extreme (but not uncommon) fault conditions, it is not possible for the client to "re-queue" the message. > Combining TTL, re-queue behavior (in the Broker) and INDIVIDUAL_ACKNOWLEDGE (on the client) of messages should achieve the desired increase in fault-tolerance described here. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira