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 4D86095B3 for ; Thu, 2 Feb 2012 16:28:47 +0000 (UTC) Received: (qmail 54617 invoked by uid 500); 2 Feb 2012 16:28:46 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 54516 invoked by uid 500); 2 Feb 2012 16:28:46 -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 54508 invoked by uid 99); 2 Feb 2012 16:28:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2012 16:28:45 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of cbuxbaum@tradestonesoftware.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2012 16:28:41 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RszWG-0005eD-Cq for users@camel.apache.org; Thu, 02 Feb 2012 08:28:20 -0800 Date: Thu, 2 Feb 2012 08:28:20 -0800 (PST) From: cbuxbaum To: users@camel.apache.org Message-ID: <1328200100392-5451194.post@n5.nabble.com> Subject: how can I do this? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I have a route that takes a file from one location and processes it to another. On Exception, I would like to have the file deposited in a deadletter location (note, a location, not a queue). So I have that feature working, but additionally, I would like to retrieve the exception from the exchange, and create a log file next to the file in the dead letter location, something like, Demo1.ai Demo1.ai.error.log There does not seem to be any way to intercept the dead letter processing just before or after moving to the dead letter queue in order to create the log file. I can think of other ways of doing this, but I like the retry feature of the deadletter channel, and just want to add some processing to the end. Thanks, Carl -- View this message in context: http://camel.465427.n5.nabble.com/how-can-I-do-this-tp5451194p5451194.html Sent from the Camel - Users mailing list archive at Nabble.com.