Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 49123 invoked from network); 7 Jun 2010 08:34:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Jun 2010 08:34:15 -0000 Received: (qmail 90216 invoked by uid 500); 7 Jun 2010 08:34:15 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 89938 invoked by uid 500); 7 Jun 2010 08:34:14 -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 89929 invoked by uid 500); 7 Jun 2010 08:34:13 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 89926 invoked by uid 99); 7 Jun 2010 08:34:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jun 2010 08:34:13 +0000 X-ASF-Spam-Status: No, hits=-1502.2 required=10.0 tests=ALL_TRUSTED,AWL 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; Mon, 07 Jun 2010 08:34:12 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o578Xqx1009988 for ; Mon, 7 Jun 2010 08:33:52 GMT Message-ID: <12964997.10331275899632087.JavaMail.jira@thor> Date: Mon, 7 Jun 2010 04:33:52 -0400 (EDT) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-2787) camel:packageScan convenience for RouteBuilders defined with Spring @Components In-Reply-To: <1033029.8561275550251791.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c [ https://issues.apache.org/activemq/browse/CAMEL-2787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59965#action_59965 ] Claus Ibsen commented on CAMEL-2787: ------------------------------------ We consider introducing a new {{}} to be used instead of {{}} to tell Camel to scan inside Spring ApplicationContext instead. Then you can just do @Component on your route builders and have Spring {{}} find and initialize those beans. The {{contextScan}} should have the same _includes_ and _excludes_ as the other, so you can instruct it to skip certain types etc. > camel:packageScan convenience for RouteBuilders defined with Spring @Components > ------------------------------------------------------------------------------- > > Key: CAMEL-2787 > URL: https://issues.apache.org/activemq/browse/CAMEL-2787 > Project: Apache Camel > Issue Type: Improvement > Components: camel-spring > Affects Versions: 2.3.0 > Environment: MacOSX 10.6.3, Java 1.6.0_20 > Reporter: Jeremy Norris > Assignee: Claus Ibsen > Priority: Minor > Fix For: 2.4.0 > > Attachments: spring-integration-testcase.tar.gz > > > When a route builder is defined using @Component, I have to reference is as follows: > > > > Should I not be able to use the following instead? > > org.jnorris.camel > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.