Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8A61F11698 for ; Sun, 13 Apr 2014 12:13:26 +0000 (UTC) Received: (qmail 72938 invoked by uid 500); 13 Apr 2014 12:13:26 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 72867 invoked by uid 500); 13 Apr 2014 12:13:20 -0000 Mailing-List: contact issues-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 issues@camel.apache.org Received: (qmail 72854 invoked by uid 99); 13 Apr 2014 12:13:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Apr 2014 12:13:16 +0000 Date: Sun, 13 Apr 2014 12:13:16 +0000 (UTC) From: "james strachan (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CAMEL-7361) would be nice if org.apache.camel.spring.Main could take a system property or CLI option to package scan classes too MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 james strachan created CAMEL-7361: ------------------------------------- Summary: would be nice if org.apache.camel.spring.Main could take a system property or CLI option to package scan classes too Key: CAMEL-7361 URL: https://issues.apache.org/jira/browse/CAMEL-7361 Project: Camel Issue Type: Improvement Reporter: james strachan Imagine you've some other beans you wanna initialise too in addition to a camel XML. I tried adding a few spring XML files in META-INF/spring/* but then I got an error if one of the spring XML files didn't have camel inside. So it'd be nice to either allow lots of spring XMLs to be used (and not all of them need camel); or allow some packages to be scanned for @Component / @Service annotations so that we can configure other beans in jars which are not necessarily camel related (e.g. to create some mbeans for monitoring/logging). -- This message was sent by Atlassian JIRA (v6.2#6252)