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 7F7E6C919 for ; Thu, 27 Jun 2013 15:14:55 +0000 (UTC) Received: (qmail 515 invoked by uid 500); 27 Jun 2013 15:14:54 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 487 invoked by uid 500); 27 Jun 2013 15:14:54 -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 474 invoked by uid 99); 27 Jun 2013 15:14:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jun 2013 15:14:53 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=URI_HEX X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jun 2013 15:14:48 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UsCP5-0004uP-NE for users@camel.apache.org; Thu, 27 Jun 2013 06:38:27 -0700 Date: Thu, 27 Jun 2013 06:38:27 -0700 (PDT) From: axelf To: users@camel.apache.org Message-ID: <1372340307693-5734906.post@n5.nabble.com> In-Reply-To: <1371628496464-5734343.post@n5.nabble.com> References: <1371558614508-5734296.post@n5.nabble.com> <1371628496464-5734343.post@n5.nabble.com> Subject: Re: Consume opened excel file with ftp MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org So we finally added a spec for our clients about using excel files. They shouldn't save directly to the ftp directory now, but I would like to send a message to a queue with activeMQ when this happen. We have no problem using ActiveMQ, but we don't know how to handle the genericFileOperationFailedException exception: we tried to add the onException clause like this (with just a log writing for the moment): We tried also to try catch the process method, but we cannot handle this exception. It seems we have much to learn about Camel (we bought the book "Camel in Action" elsewhere). -- View this message in context: http://camel.465427.n5.nabble.com/Consume-opened-excel-file-with-ftp-tp5734296p5734906.html Sent from the Camel - Users mailing list archive at Nabble.com.