Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 51731 invoked from network); 9 Jul 2010 07:26:20 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Jul 2010 07:26:20 -0000 Received: (qmail 91487 invoked by uid 500); 9 Jul 2010 07:26:20 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 91331 invoked by uid 500); 9 Jul 2010 07:26:18 -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 91323 invoked by uid 500); 9 Jul 2010 07:26:17 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 91318 invoked by uid 99); 9 Jul 2010 07:26:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jul 2010 07:26:17 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jul 2010 07:26:14 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o697PqwP029767 for ; Fri, 9 Jul 2010 07:25:53 GMT Message-ID: <2178087.36761278660352834.JavaMail.jira@thor> Date: Fri, 9 Jul 2010 03:25:52 -0400 (EDT) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Resolved: (CAMEL-2920) more eager validation of routes In-Reply-To: <18373268.34781278521031777.JavaMail.jira@thor> 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 [ https://issues.apache.org/activemq/browse/CAMEL-2920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-2920. -------------------------------- Resolution: Fixed bean and method call using ref now check on startup if the bean exists in the registry trunk: 962430. > more eager validation of routes > -------------------------------- > > Key: CAMEL-2920 > URL: https://issues.apache.org/activemq/browse/CAMEL-2920 > Project: Apache Camel > Issue Type: Improvement > Components: camel-core > Affects Versions: 2.3.0 > Reporter: James Strachan > Assignee: Claus Ibsen > Fix For: 2.4.0 > > > it seems you can dynamically create invalid routes which don't fail fast if there are errors. > e.g. > {code} > from("seda:foo").beanRef("doesNotExist", "noMethodCalledThis") > {code} > its only if a message is sent to "seda:foo" that the whole thing barfs. We should maybe check that the to can be validated first before allowing the consumer to startup? If nothing else failing faster and earlier helps users spot errors sooner -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.