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 E876F9C82 for ; Tue, 11 Oct 2011 12:10:55 +0000 (UTC) Received: (qmail 39898 invoked by uid 500); 11 Oct 2011 12:10:55 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 39867 invoked by uid 500); 11 Oct 2011 12:10:55 -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 39859 invoked by uid 99); 11 Oct 2011 12:10:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Oct 2011 12:10:55 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lbvenkatesh@gmail.com designates 209.85.216.43 as permitted sender) Received: from [209.85.216.43] (HELO mail-qw0-f43.google.com) (209.85.216.43) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Oct 2011 12:10:47 +0000 Received: by qabg14 with SMTP id g14so5907415qab.2 for ; Tue, 11 Oct 2011 05:10:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=/qdzJf0P/cPK7rbFicuREZ5TcyJpmicaBnd3xpQ5zwY=; b=W4/ycIhFcZJSoFfQctFedKqeMLu0b/sg2OZsUmzGYOLm1SA1ZFt8x6b6nsO5PKRD8z vw1l1PJ088N9gjrNzllG+qpnA9IpO7nokXTSkF5OHcdcKmre4MO4pnXDtDr5lZv08tPs BdH6GLFmfvaXkJpCVNJiWwZgrlONXgNbNIRIQ= MIME-Version: 1.0 Received: by 10.229.242.7 with SMTP id lg7mr4803365qcb.28.1318335026978; Tue, 11 Oct 2011 05:10:26 -0700 (PDT) Received: by 10.229.224.203 with HTTP; Tue, 11 Oct 2011 05:10:26 -0700 (PDT) Date: Tue, 11 Oct 2011 17:40:26 +0530 Message-ID: Subject: Redelivery not happening at the point of failure From: Venkatesh Laguduva To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=001636285004fa609704af04ca46 X-Virus-Checked: Checked by ClamAV on apache.org --001636285004fa609704af04ca46 Content-Type: text/plain; charset=ISO-8859-1 Hi, We use camel and activemq in JBoss server; One of our routes is transacted as below: mocked route: onException(BadException.class) .maxRedeliveries(-1) from('jms:queue:source') .transacted() .process( ... if (some condition) { throw new BadException('test') } ) while testing, we had stopped the server during redeliveries (because of BadException) and message was sent to activemq's DLQ; when the server got restarted, the message from the DLQ was tried again from the activemq's DLQ; this time, message was tried from the start of the route instead of trying from the point of failure? am I missing something? Thanks & Regards Venkatesh Laguduva --001636285004fa609704af04ca46--