Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9BB3810BDB for ; Fri, 27 Dec 2013 06:52:35 +0000 (UTC) Received: (qmail 29642 invoked by uid 500); 27 Dec 2013 06:52:34 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 29051 invoked by uid 500); 27 Dec 2013 06:52:29 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 29043 invoked by uid 99); 27 Dec 2013 06:52:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Dec 2013 06:52:28 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of fancyerii@gmail.com designates 209.85.217.169 as permitted sender) Received: from [209.85.217.169] (HELO mail-lb0-f169.google.com) (209.85.217.169) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Dec 2013 06:52:23 +0000 Received: by mail-lb0-f169.google.com with SMTP id u14so4077688lbd.14 for ; Thu, 26 Dec 2013 22:52:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ualdyI9ruXTOYD64dNGpe3rk550lEoBNjlIfwTPKEcE=; b=dwHxa+U9S29Fu4Nz0XlD4geyBnQ5jRHlH4tiJWWHzGNeXKmvr4EwbqTiZRbuF8SQ83 YxNCjDJZUZbIjbXY90G4xQiRkkVkh6sFsx9lOcP2EkgNtyKAqFlgm1hEoOEnwtn/hoD0 FLWwj2kgN4bu6Pt6TSnaIigli4DZ1eVXdgSmPJg86C8rnPmwhTyMoOywJMzt7W5UvZoL B9LifOT/70P76L/HqnvdAWIPESstlIg2F3giwbknkomEGXKx0fGRFXVDqNKZu0ijOGJo fzfNjs68fo+FsvOyDA7MwWUf4/hcgauuNRhwgZVEkC+QoNxC8ZQ7OV80u4J77UdT97tf A+Eg== MIME-Version: 1.0 X-Received: by 10.152.87.37 with SMTP id u5mr20244096laz.11.1388127121594; Thu, 26 Dec 2013 22:52:01 -0800 (PST) Received: by 10.112.54.133 with HTTP; Thu, 26 Dec 2013 22:52:01 -0800 (PST) Date: Fri, 27 Dec 2013 14:52:01 +0800 Message-ID: Subject: how to make sure consumer correctly fullfil a task? From: Li Li To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org hi all, activemq ensure a message sent to a queue will be consumed by exactly one consumer. But what happens when the consumer receive this message and crash and don't do anything with this message. How can I ensure the consumer really did his job? how to ensure if the consumer crashed, the message will be sent to another consumer.