Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 36465 invoked from network); 13 Mar 2009 12:40:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Mar 2009 12:40:09 -0000 Received: (qmail 6768 invoked by uid 500); 13 Mar 2009 12:40:08 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 6752 invoked by uid 500); 13 Mar 2009 12:40:08 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 6741 invoked by uid 500); 13 Mar 2009 12:40:08 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 6738 invoked by uid 99); 13 Mar 2009 12:40:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Mar 2009 05:40:08 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Mar 2009 12:40:00 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8F909234C041 for ; Fri, 13 Mar 2009 05:39:40 -0700 (PDT) Message-ID: <1078095331.1236947980582.JavaMail.jira@brutus> Date: Fri, 13 Mar 2009 05:39:40 -0700 (PDT) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Created: (CAMEL-1457) Bean Binding - @ExchangeException should only be considered if Exchange has an exception (= eg is failed) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org Bean Binding - @ExchangeException should only be considered if Exchange has an exception (= eg is failed) --------------------------------------------------------------------------------------------------------- Key: CAMEL-1457 URL: https://issues.apache.org/activemq/browse/CAMEL-1457 Project: Apache Camel Issue Type: Improvement Components: camel-core Reporter: Claus Ibsen Assignee: Claus Ibsen Priority: Minor Fix For: 2.0.0 Relates to the work of improving the BeanInfo algorithm for detecting method to invoke {code} public String handleFailure(String order, @ExchangeException Exception e) { return "Failure"; } public String handleOrder(String order) { return "Order"; } {code} Should select handleOrder if the Exchange has no exception. And handleFailure if it has an Exception. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.