Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-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 62F5411A4E for ; Wed, 2 Jul 2014 22:19:56 +0000 (UTC) Received: (qmail 31639 invoked by uid 500); 2 Jul 2014 22:19:55 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 31596 invoked by uid 500); 2 Jul 2014 22:19:55 -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 31584 invoked by uid 99); 2 Jul 2014 22:19:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2014 22:19:55 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of icechunk@gmail.com designates 209.85.215.52 as permitted sender) Received: from [209.85.215.52] (HELO mail-la0-f52.google.com) (209.85.215.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2014 22:19:50 +0000 Received: by mail-la0-f52.google.com with SMTP id ty20so7563268lab.11 for ; Wed, 02 Jul 2014 15:19:28 -0700 (PDT) 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=HZ3/umsXfA+ENps7Z4MbuaLX7oaE1Gn5vC+CWDzZnWM=; b=vSjr/48SAzi0FbOkblIL1/SdvJNdYebhEs9nZd4GCvnka0jEBTabA6TPcTJuEm29CS Fl5js9A9EznIfec0npgAnR4ExS5XiyoF2w2e2GhkVJLjIgf1/ZUDheEFP24+TcNyZysp G9uobcDv8rfr0+tKoy2OZJ+OE+vlpAMw+EKZQMK4GjKqwKFgQ6Y2zEhOqtkB++3iLNKw UIFiHS7GMOs704rJq0LRdWEloIyyshMewTCxR2OxFwWaVU2zdjLIjP9J7iC9+qln6J6A rbWrAmUzErLWA8FoWS70f62VDupR/oNJWHwGVvBGAVWaYWV/y7/QRsaDtZaKoD7ed6BK J2uA== MIME-Version: 1.0 X-Received: by 10.112.171.134 with SMTP id au6mr384541lbc.21.1404339568409; Wed, 02 Jul 2014 15:19:28 -0700 (PDT) Received: by 10.112.172.5 with HTTP; Wed, 2 Jul 2014 15:19:28 -0700 (PDT) Date: Wed, 2 Jul 2014 18:19:28 -0400 Message-ID: Subject: Call a route on Delivery failure From: Manav Kher To: users@camel.apache.org Content-Type: multipart/alternative; boundary=001a11c376dc1e838d04fd3d4919 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c376dc1e838d04fd3d4919 Content-Type: text/plain; charset=UTF-8 I have configured a RedeiveryPolicy on the error handler. Is there a way I can call the WireTap processor once all delivery attempts have been made the message is about to be sent to the DLC? from("vm:sentToDestination") .errorHandler(deadLetterChannel("{{dlc.queue}}") .retriesExhaustedLogLevel(LoggingLevel.DEBUG) .logRetryStackTrace(false).asyncDelayedRedelivery() .maximumRedeliveries(retryMaxCount) .redeliveryDelay(retryDelay)) .to("http://someURL") -- -M Kher --001a11c376dc1e838d04fd3d4919--