Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 32356 invoked from network); 15 Dec 2009 10:20:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Dec 2009 10:20:18 -0000 Received: (qmail 28584 invoked by uid 500); 15 Dec 2009 10:20:17 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 28538 invoked by uid 500); 15 Dec 2009 10:20:17 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 28528 invoked by uid 99); 15 Dec 2009 10:20:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2009 10:20:17 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.218.211 as permitted sender) Received: from [209.85.218.211] (HELO mail-bw0-f211.google.com) (209.85.218.211) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2009 10:20:07 +0000 Received: by bwz3 with SMTP id 3so2194250bwz.36 for ; Tue, 15 Dec 2009 02:19:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=HsGJZmjUWenNH8D6Kx150u2JlBbyMzb9ibomNhgdjDM=; b=S3X73tPOHAghA2aq/5o4zbn09yHOcgOTnHVOmzTtkJmTqfVEXTAkN65k9p/R6GFv1+ 6rQMxx9fg+VR0Lga26ghNg0Gx3AOtr6b51RBioxdA53RllRmS6uH95DaMruT8NeIIxw8 0+NzoWUeE9DIYqRv408nWhtT71n9Fbxdb9pUw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=ap8g0RffiBmtCjiUtGjet9+J/RY42UghlAP/SI0llleXx1R0lSMKEuWCb7kxDyxgxw FI3pBhAF1GhUfKyVuFTf5ovl5BDiGe59qKUiOh/mVngLiccflWyyK+iznuvCYfZ2vCmW Ha/r/FzFF8e1B85vPf3oABsitY7wx9brgmIXs= MIME-Version: 1.0 Received: by 10.204.157.24 with SMTP id z24mr1380308bkw.208.1260872387252; Tue, 15 Dec 2009 02:19:47 -0800 (PST) In-Reply-To: <26792420.post@talk.nabble.com> References: <26780214.post@talk.nabble.com> <5380c69c0912142104x408f67efsa85f0121ea9a424@mail.gmail.com> <26792420.post@talk.nabble.com> From: Claus Ibsen Date: Tue, 15 Dec 2009 11:19:27 +0100 Message-ID: <5380c69c0912150219g6fe5696ag85c56b9a21925334@mail.gmail.com> Subject: Re: recipientList + aggregationStrategy, maximumRedeliveries exceeded To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Dec 15, 2009 at 11:08 AM, mcrive wrote: > > when the exchange hits the aggregationStrategy the header is no longer set. > Dont do this as you indicate that you handle the exception, which you dont want to do since you want the exception to be present in the AS. .onException(Exception.class).maximumRedeliveries(2).redeliverDelay(60L).handled(true).end() But just configure it with the redelivery policies, which then on exhaustion will propagate it back to the AS. .onException(Exception.class).maximumRedeliveries(2).redeliverDelay(60L); > > > Claus Ibsen-2 wrote: >> >> >> See section - Redelivery header >> http://camel.apache.org/dead-letter-channel.html >> >> These headers apply also for the default error handler in Camel 2.x. >> > > -- > View this message in context: http://old.nabble.com/recipientList-%2B-aggregationStrategy%2C-maximumRedeliveries-exceeded-tp26780214p26792420.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus